Marketplace API / Types
LivestreamViewerState
ObjectThe authenticated user's relationship to a livestream.
type LivestreamViewerStateFields
| Field | Type | Description |
|---|---|---|
bookmark | LivestreamBookmark | The user's bookmark, or null when they have not bookmarked the livestream. |
canWatch | Boolean! | Whether the user may watch this livestream. False when this show kicked the user, when the streamer blocked the user, and when the user may not take part in this storefront. Do not play the broadcast when it is false. The value can change during a show, so read it again while the user watches. A caller with no session has no viewer and may watch. A VIEWER session of agoraRtcSession does not apply this value: it refuses only a user whom this show kicked. |