OdinEvent
Union of all possible ODIN events.
Fields
tag
The type of the event. Identifies which field of the union is valid.
joined
Data for the OdinEvent_Joined event. Only valid if tag
is OdinEvent_Joined
.
peer_joined
Data for the OdinEvent_PeerJoined event. Only valid if tag
is OdinEvent_PeerJoined
.
peer_left
Data for the OdinEvent_PeerLeft event. Only valid if tag
is OdinEvent_PeerLeft
.
peer_user_data_changed
Data for the OdinEvent_PeerUserDataChanged event. Only valid if tag
is OdinEvent_PeerUserDataChanged
.
media_added
Data for the OdinEvent_MediaAdded event. Only valid if tag
is OdinEvent_MediaAdded
.
media_removed
Data for the OdinEvent_MediaRemoved event. Only valid if tag
is OdinEvent_MediaRemoved
.
media_active_state_changed
Data for the OdinEvent_MediaActiveStateChanged event. Only valid if tag
is OdinEvent_MediaActiveStateChanged
.
room_user_data_changed
Data for the OdinEvent_RoomUserDataChanged event. Only valid if tag
is OdinEvent_RoomUserDataChanged
.
room_connection_state_changed
Data for the OdinEvent_RoomConnectionStateChanged event. Only valid if tag
is OdinEvent_RoomConnectionStateChanged
.
message_received
Data for the OdinEvent_MessageReceived event. Only valid if tag
is OdinEvent_MessageReceived
.
Remarks
This union is used to represent all possible ODIN events. The tag
field is used to determine which field of the union
is valid. The tag
field should be checked before accessing any of the other fields.