Stay organized with collections
Save and categorize content based on your preferences.
<GNSSubscription> Protocol Reference
Overview
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2015-12-04 UTC."],[[["The GNSSubscription protocol enables subscribing to specific message types from nearby devices."],["Active subscriptions trigger message delivery to the app, primarily when it's in the foreground, based on defined criteria."],["Message handlers manage the discovery and loss of messages, ensuring appropriate actions are taken."],["Deallocation of the subscription object halts further message delivery to the application."]]],[]]