Stay organized with collections
Save and categorize content based on your preferences.
GooglePlayGames.BasicApi.Nearby
Summary
Enumerations
InitializationStatus
InitializationStatus
Represents the configuration for a Nearby Connections operation.
Includes initialization status and client-specific configuration.
Properties |
InternalError
|
Denotes that an internal error occurred during initialization.
|
Success
|
Indicates that the initialization was successful.
|
VersionUpdateRequired
|
Signifies that a version update is required for nearby connections.
|
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 2025-07-08 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 2025-07-08 UTC."],[],[],null,["# GooglePlayGames.BasicApi.Nearby Namespace\n\nGooglePlayGames.BasicApi.Nearby\n===============================\n\nSummary\n-------\n\n| ### Enumerations ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [InitializationStatus](#namespace_google_play_games_1_1_basic_api_1_1_nearby_1ac4f721f70ef2577c62ecce26a87807ac)`{` ` `[Success](#namespace_google_play_games_1_1_basic_api_1_1_nearby_1ac4f721f70ef2577c62ecce26a87807aca505a83f220c02df2f85c3810cd9ceb38)`,` ` `[VersionUpdateRequired](#namespace_google_play_games_1_1_basic_api_1_1_nearby_1ac4f721f70ef2577c62ecce26a87807aca40d06a80270f8138521c973da08e973c)`,` ` `[InternalError](#namespace_google_play_games_1_1_basic_api_1_1_nearby_1ac4f721f70ef2577c62ecce26a87807aca8462b58246e70e5c83e5b939a9332cb5) `}` | enum Represents the configuration for a [Nearby](/games/services/unity/v2/api/namespace/google-play-games/basic-api/nearby#namespace_google_play_games_1_1_basic_api_1_1_nearby) Connections operation. |\n\n| ### Classes ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GooglePlayGames.BasicApi.Nearby.DummyNearbyConnectionClient](/games/services/unity/v2/api/class/google-play-games/basic-api/nearby/dummy-nearby-connection-client) | Dummy implementation of [INearbyConnectionClient](/games/services/unity/v2/api/interface/google-play-games/basic-api/nearby/i-nearby-connection-client#interface_google_play_games_1_1_basic_api_1_1_nearby_1_1_i_nearby_connection_client). |\n\n| ### Structs ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GooglePlayGames.BasicApi.Nearby.AdvertisingResult](/games/services/unity/v2/api/struct/google-play-games/basic-api/nearby/advertising-result) | Represents the result of an attempt to start advertising for nearby connections. |\n| [GooglePlayGames.BasicApi.Nearby.ConnectionRequest](/games/services/unity/v2/api/struct/google-play-games/basic-api/nearby/connection-request) | Represents a request to establish a connection with a remote endpoint. |\n| [GooglePlayGames.BasicApi.Nearby.ConnectionResponse](/games/services/unity/v2/api/struct/google-play-games/basic-api/nearby/connection-response) | Represents a response to a connection request, including status, payload, and identifying information. |\n| [GooglePlayGames.BasicApi.Nearby.EndpointDetails](/games/services/unity/v2/api/struct/google-play-games/basic-api/nearby/endpoint-details) | Represents details of an endpoint involved in a [Nearby](/games/services/unity/v2/api/namespace/google-play-games/basic-api/nearby#namespace_google_play_games_1_1_basic_api_1_1_nearby) Connections operation. |\n| [GooglePlayGames.BasicApi.Nearby.NearbyConnectionConfiguration](/games/services/unity/v2/api/struct/google-play-games/basic-api/nearby/nearby-connection-configuration) | Defines the configuration for establishing a [Nearby](/games/services/unity/v2/api/namespace/google-play-games/basic-api/nearby#namespace_google_play_games_1_1_basic_api_1_1_nearby) connection. |\n\n| ### Interfaces ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GooglePlayGames.BasicApi.Nearby.IDiscoveryListener](/games/services/unity/v2/api/interface/google-play-games/basic-api/nearby/i-discovery-listener) | Interface for receiving notifications about discovered endpoints. |\n| [GooglePlayGames.BasicApi.Nearby.IMessageListener](/games/services/unity/v2/api/interface/google-play-games/basic-api/nearby/i-message-listener) | Interface for receiving messages and notifications about remote endpoints. |\n| [GooglePlayGames.BasicApi.Nearby.INearbyConnectionClient](/games/services/unity/v2/api/interface/google-play-games/basic-api/nearby/i-nearby-connection-client) | Interface for managing connections and communications between devices using [Nearby](/games/services/unity/v2/api/namespace/google-play-games/basic-api/nearby#namespace_google_play_games_1_1_basic_api_1_1_nearby) Connections. |\n\nEnumerations\n------------\n\n### InitializationStatus\n\n```c#\n InitializationStatus\n``` \nRepresents the configuration for a [Nearby](/games/services/unity/v2/api/namespace/google-play-games/basic-api/nearby#namespace_google_play_games_1_1_basic_api_1_1_nearby) Connections operation.\n\nIncludes initialization status and client-specific configuration.\n\n| Properties ||\n|-------------------------|---------------------------------------------------------------------|\n| `InternalError` | Denotes that an internal error occurred during initialization. |\n| `Success` | Indicates that the initialization was successful. |\n| `VersionUpdateRequired` | Signifies that a version update is required for nearby connections. |"]]