CoHostState class abstract
Cross-room connection related state data provided externally by CoHostStore
A comprehensive snapshot of the current cross-room connection session state. This structure contains all relevant information about connection status, connected hosts, pending invitations and applications.
Note: State is automatically updated when hosts join/leave connection, send/cancel invitations, or receive applications. Subscribe to
coHostStateto receive real-time updates.
| Property | Type | Description |
|---|---|---|
| coHostStatus | ValueListenable<CoHostStatus> |
Real-time cross-room connection status |
| connected | ValueListenable<List<SeatUserInfo>> |
List of hosts currently connected with current live room |
| invitees | ValueListenable<List<SeatUserInfo>> |
List of hosts to whom requests have been sent |
| applicant | ValueListenable<SeatUserInfo?> |
Host who initiated connection request to current live room |
| candidatesCursor | ValueListenable<String> |
Recommended user list cursor |
| candidates | ValueListenable<List<SeatUserInfo>> |
Recommended user list |
Constructors
Properties
-
applicant
→ ValueListenable<
SeatUserInfo?> -
Host who initiated connection request to current live room.
no setter
-
candidates
→ ValueListenable<
List< SeatUserInfo> > -
Recommended user list.
no setter
-
candidatesCursor
→ ValueListenable<
String> -
Recommended user list cursor.
no setter
-
coHostStatus
→ ValueListenable<
CoHostStatus> -
Real-time cross-room connection status.
no setter
-
connected
→ ValueListenable<
List< SeatUserInfo> > -
List of hosts currently connected with current live room.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
invitees
→ ValueListenable<
List< SeatUserInfo> > -
List of hosts to whom requests have been sent.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited