# API リファレンス

API リファレンスは [apidoc](https://shiguredo.github.io/sora-js-sdk/modules.html) を参照ください。


## Sora

Sora JS SDK メインオブジェクトです。

API リファレンスは [Sora](https://shiguredo.github.io/sora-js-sdk/variables/default.html) を参照ください。


## SoraConnection

Role、 ChannelId、 Metadata、Options を指定することにより Sora に接続するための SendRecv オブジェクトを作成します。

API リファレンスは [SoraConnection](https://shiguredo.github.io/sora-js-sdk/interfaces/SoraConnection.html) を参照ください。


## ConnectionPublisher / ConnectionSubscriber / ConnectionMessaging

Sora との接続/切断を管理するオブジェクトです。

- 基底クラス [ConnectionBase](https://shiguredo.github.io/sora-js-sdk/interfaces/ConnectionBase.html)
- Sendonly/SendRecv を扱うクラス [ConnectionPublisher](https://shiguredo.github.io/sora-js-sdk/interfaces/ConnectionPublisher.html)
- Recvonly を扱うクラス [ConnectionSubscriber](https://shiguredo.github.io/sora-js-sdk/interfaces/ConnectionSubscriber.html)
- メッセージングのみを扱うクラス [ConnectionMessaging](https://shiguredo.github.io/sora-js-sdk/interfaces/ConnectionMessaging.html)
