संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
<GNSPublication> प्रोटोकॉल रेफ़रंस
खास जानकारी
पब्लिकेशन ऑब्जेक्ट, आस-पास मौजूद डिवाइसों पर पब्लिश किया गया मैसेज दिखाता है.
जब तक ऐप्लिकेशन लाइव रहेगा, तब तक मैसेज की लाइब्रेरी यह पक्का करने की पूरी कोशिश करेगी कि मैसेज पब्लिश किया जा रहा है या नहीं.ऐसा तब तक होगा, जब तक ज़रूरी शर्तें पूरी हो जाती हैं. उदाहरण के लिए, ऐप्लिकेशन फ़ोरग्राउंड में होना चाहिए. पब्लिकेशन ऑब्जेक्ट की जानकारी हटाए जाने के बाद, मैसेज पब्लिश नहीं होगा.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-08-13 (UTC) को अपडेट किया गया."],[],["A publication object signifies a message broadcast to nearby devices. The message library ensures the message's publication while the object exists, provided necessary conditions are satisfied, such as the app being in the foreground. Upon deallocation of the publication object, the message is no longer published. This object is derived from the base class `\u003cNSObject\u003e`. It represents the lifecycle of message delivery.\n"]]