<GNSPublication> Protocol
A publication object represents a message published to nearby devices.
As long as it lives, the messages library will do its best to make sure the message is being published, as long as the required conditions are met (e.g., the app must be in the foreground). When the publication object is deallocated, the message will no longer be published.
Inherits <NSObject>.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2015-12-04 UTC.
[null,null,["Last updated 2015-12-04 UTC."],[[["GNSPublication objects represent messages that are broadcasted to nearby devices."],["Messages continue to be published while the publication object exists and conditions are met, like the app being in the foreground."],["Deallocation of the publication object stops further message broadcasting."],["GNSPublication inherits functionality from the NSObject class."]]],[]]