קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
gpg::StartAdvertisingResult
#include <nearby_connection_types.h>
המזהה והשם של מכונה שרשומה במכשיר הזה.
סיכום
סוגים ציבוריים
|
StatusCode
|
טיפוסים בני מנייה (enum) הערכים של קוד הסטטוס שהוחזרו בשדה 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 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-27 (שעון UTC)."],[],[],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."]]