Stay organized with collections
Save and categorize content based on your preferences.
gpg::StartAdvertisingResult
#include <nearby_connection_types.h>
The ID and name of an instance registered on this device.
Summary
Public types
|
StatusCode
|
enum Status code values returned in the status field. |
Public attributes
|
local_endpoint_name
|
std::string
The human-readable name for the local endpoint being advertised (after resolving any name collisions that may have occurred).
|
status
|
The status code indicating whether advertising succeeded.
|
Public types
StatusCode
gpg::StartAdvertisingResult::StatusCode
Status code values returned in the status
field.
Public attributes
local_endpoint_name
std::string gpg::StartAdvertisingResult::local_endpoint_name
The human-readable name for the local endpoint being advertised (after resolving any name collisions that may have occurred).
status
StatusCode gpg::StartAdvertisingResult::status
The status code indicating whether advertising succeeded.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-10-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-28 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."]]