ReadonlyisTrue if we’re connected to the peer.
ReadonlyonNotified when the connection to the peer is established and ready.
ReadonlyonTriggered when the connection to the peer is severed. The session is no longer valid and must be re-created.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Start a subscription, multiple responses can be sent by the peer. Returns the subscription event. onError will be called if the subscription is cancelled by peer.
Spectacles Mobile Kit session allows you to initiate the connection to peer, and send data.
Snap OS