LocalPersonの実装クラス
[詳解]
#include <local_person.hpp>
|
| std::shared_ptr< interface::Publication > | Publish (std::shared_ptr< LocalStream > stream, interface::LocalPerson::PublicationOptions options) override |
| | Streamを公開します。
|
| |
| std::shared_ptr< interface::Subscription > | Subscribe (const std::string &publication_id, const interface::LocalPerson::SubscriptionOptions &options) override |
| | 公開されているPublicationを購読します。
|
| |
| bool | Unpublish (const std::string &publication_id) const override |
| | 公開しているPublicationを非公開にします。
|
| |
| bool | Unsubscribe (const std::string &subscription_id) const override |
| | 購読しているSubscriptionの購読を解除します。
|
| |
|
std::vector< analytics::interface::AnalyticsClient::SubscriptionStats > | GetSubscriptionStatsForAnalytics () const override |
| |
| void | AddEventListener (EventListener *listener) |
| | イベントを購読します。
|
| |
| void | RemoveEventListener (EventListener *listener) |
| | イベントの購読を中止します。
|
| |
|
bool | UpdateMetadata (const std::string &metadata) |
| | Metadataを更新します
|
| |
|
bool | Leave () |
| | Channelから退室します。
|
| |
|
std::string | Id () const |
| | Idを取得します。
|
| |
|
std::optional< std::string > | Name () const |
| | Nameを取得します。
|
| |
|
std::optional< std::string > | Metadata () const |
| | Metadataを取得します。
|
| |
|
model::MemberType | Type () const |
| | MemberTypeを取得します。
|
| |
|
std::string | Subtype () const |
| | Subtypeを取得します。
|
| |
|
model::Side | Side () const |
| | Side(LocalかRemoteか)を取得します。
|
| |
|
MemberState | State () const |
| | State(Memberの入室状態)を取得します。
|
| |
|
std::vector< std::shared_ptr< interface::Publication > > | Publications () const |
| | 自身が持つ全てのPublicationを取得します。
|
| |
|
std::vector< std::shared_ptr< interface::Subscription > > | Subscriptions () const |
| | 自身が持つ全てのSubscriptionを取得します。
|
| |
◆ Publish()
◆ Subscribe()
◆ Unpublish()
| bool skyway::core::channel::member::LocalPerson::Unpublish |
( |
const std::string & |
publication_id | ) |
const |
|
overridevirtual |
◆ Unsubscribe()
| bool skyway::core::channel::member::LocalPerson::Unsubscribe |
( |
const std::string & |
subscription_id | ) |
const |
|
overridevirtual |
このクラス詳解は次のファイルから抽出されました: