@sudoplatform/sudo-privacy-interaction
    Preparing search index...

    Interface VirtualPresenceSubscriber

    Subscriber interface for receiving virtual presence events.

    VirtualPresenceSubscriber

    interface VirtualPresenceSubscriber {
        connectionStatusChanged(state: ConnectionState): void;
        virtualPresenceUpdated(virtualPresence: VirtualPresence): void;
    }
    Index
    • Notifies the subscriber that the subscription connection state has changed. The subscriber won't be notified of virtual presence changes until the connection status changes to ConnectionState.CONNECTED. The subscriber will stop receiving virtual presence change notifications when the connection state changes to ConnectionState.DISCONNECTED.

      Parameters

      Returns void

    • Notifies the subscriber of an updated virtual presence.

      Parameters

      Returns void