Agora Interactive Whiteboard Java API Reference
|
Public Member Functions | |
ViewMode | getMode () |
Long | getBroadcasterId () |
RoomMember | getBroadcasterInformation () |
![]() | |
String | toString () |
JSONObject | toJSON () |
The view state of the local user, as well as the user information of the host (if any) in the room.
When the local user is in the Follower
view mode, you can call getBroadcasterId
and getBroadcasterInformation
to get the information of the host in the room.
ViewMode com.herewhite.sdk.domain.BroadcastState.getMode | ( | ) |
Gets the view mode of the user.
Long com.herewhite.sdk.domain.BroadcastState.getBroadcasterId | ( | ) |
Gets the user ID of the host.
For the SDK earlier than v2.4.8, this method call returns 0
by mistake when there is no host in the room. v2.4.8 fixed this issue. As of v2.4.8, this method call returns null
when there is no host in the room.
RoomMember com.herewhite.sdk.domain.BroadcastState.getBroadcasterInformation | ( | ) |
Gets the user information of the host.
RoomMember
.