تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
gpg::StartAdvertisingResult
#include <nearby_connection_types.h>
رقم تعريف واسم مثيل مسجَّل على هذا الجهاز
ملخّص
الأنواع العامة
|
StatusCode
|
تعداد قيم رمز الحالة التي يتم عرضها في الحقل status |
السمات العامة
|
local_endpoint_name
|
std::string
الاسم الذي يمكن للمستخدمين قراءته لنقطة النهاية المحلية التي يتم الإعلان عنها (بعد حلّ أي تعارضات في الأسماء) قد تكون حدثت
|
status
|
رمز الحالة الذي يشير إلى نجاح الإعلان.
|
الأنواع العامة
StatusCode
gpg::StartAdvertisingResult::StatusCode
قيم رمز الحالة التي يتم عرضها في الحقل status
السمات العامة
local_endpoint_name
std::string gpg::StartAdvertisingResult::local_endpoint_name
الاسم الذي يمكن للمستخدمين قراءته لنقطة النهاية المحلية التي يتم الإعلان عنها (بعد حلّ أي تعارضات في الأسماء) قد تكون حدثت
status
StatusCode gpg::StartAdvertisingResult::status
رمز الحالة الذي يشير إلى نجاح الإعلان.
يخضع كل من المحتوى وعيّنات التعليمات البرمجية في هذه الصفحة للتراخيص الموضحّة في ترخيص استخدام المحتوى. إنّ Java وOpenJDK هما علامتان تجاريتان مسجَّلتان لشركة Oracle و/أو الشركات التابعة لها.
تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-27 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["# gpg::StartAdvertisingResult Struct Reference\n\ngpg::StartAdvertisingResult\n===========================\n\n`#include \u003cnearby_connection_types.h\u003e`\n\nThe ID and name of an instance registered on this device.\n\nSummary\n-------\n\n| ### Public types ||\n|------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| [StatusCode](#structgpg_1_1_start_advertising_result_1a4e0aca824367d90386adcb1e545df77c) | enum Status code values returned in the `status` field. |\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [local_endpoint_name](#structgpg_1_1_start_advertising_result_1a0c6c43ceadeb3ab43061e7bd3ac05a0c) | `std::string` The human-readable name for the local endpoint being advertised (after resolving any name collisions that may have occurred). |\n| [status](#structgpg_1_1_start_advertising_result_1a99d2f2b38441f0a476818314580a197d) | [StatusCode](/games/services/cpp/api/struct/gpg/start-advertising-result#structgpg_1_1_start_advertising_result_1a4e0aca824367d90386adcb1e545df77c) The status code indicating whether advertising succeeded. |\n\nPublic types\n------------\n\n### StatusCode\n\n```c++\n gpg::StartAdvertisingResult::StatusCode\n``` \nStatus code values returned in the `status` field.\n\nPublic attributes\n-----------------\n\n### local_endpoint_name\n\n```c++\nstd::string gpg::StartAdvertisingResult::local_endpoint_name\n``` \nThe human-readable name for the local endpoint being advertised (after resolving any name collisions that may have occurred). \n\n### status\n\n```c++\nStatusCode gpg::StartAdvertisingResult::status\n``` \nThe status code indicating whether advertising succeeded."]]