<GNSSubscription> Protocol

<GNSSubscription> Protocol Reference


A subscription object represents the act of subscribing to messages of a certain type from nearby devices.

As long as it lives, the messages library will do its best to deliver messages that match the subscription’s type, as long as the required conditions are met (e.g., the app must be in the foreground). Message handlers are called when messages are are discovered or lost. When the subscription object is deallocated, message delivery will cease.

Inherits <NSObject>.