CoHostState

data class CoHostState(val coHostStatus: StateFlow<CoHostStatus>, val connected: StateFlow<List<SeatUserInfo>>, val invitees: StateFlow<List<SeatUserInfo>>, val applicant: StateFlow<SeatUserInfo?>, candidates: StateFlow<List<SeatUserInfo>>)

Cross-room connection related state data provided by CoHostStore

Constructors

Link copied to clipboard
constructor(coHostStatus: StateFlow<CoHostStatus>, connected: StateFlow<List<SeatUserInfo>>, invitees: StateFlow<List<SeatUserInfo>>, applicant: StateFlow<SeatUserInfo?>, candidates: StateFlow<List<SeatUserInfo>>)

Properties

Link copied to clipboard
val applicant: StateFlow<SeatUserInfo?>

Anchor who initiated connection request to the current live room. {@link $SeatUserInfo$}

Link copied to clipboard
val coHostStatus: StateFlow<CoHostStatus>

Real-time status of cross-room connection. {@link CoHostStatus}

Link copied to clipboard
val connected: StateFlow<List<SeatUserInfo>>

List of anchors currently connected with the current live room. {@link $SeatUserInfo$}

Link copied to clipboard
val invitees: StateFlow<List<SeatUserInfo>>

List of anchors to whom requests have been sent to other live rooms. {@link $SeatUserInfo$}