VirtualPresenceSubscriber
public protocol VirtualPresenceSubscriber : AnyObject
Subscriber for receiving virtual presence state events.
-
Notifies the subscriber of an updated virtual presence.
Declaration
Swift
func virtualPresenceUpdated(_ virtualPresence: VirtualPresence)Parameters
virtualPresenceThe updated virtual presence.
-
Notifies the subscriber that the subscription connection state has changed.
The subscriber will not receive virtual presence change notifications until the connection state changes to
.connected, and will stop receiving them once it changes to.disconnected.Declaration
Swift
func connectionStatusChanged(_ state: ConnectionState)Parameters
stateThe new connection state.
VirtualPresenceSubscriber Protocol Reference