Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Referensi Protokol <GNSPublication>
Ringkasan
Objek publikasi mewakili pesan yang dipublikasikan ke perangkat di sekitar.
Selama aktif, library pesan akan melakukan yang terbaik untuk memastikan pesan dipublikasikan, selama kondisi yang diperlukan terpenuhi (misalnya, aplikasi harus berada di latar depan). Jika objek publikasi dibatalkan alokasinya, pesan tidak akan dipublikasikan lagi.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-07-26 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."]]],["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"]]