GooglePlayGames.BasicApi.Nearby.NearbyConnectionConfiguration

Defines the configuration for establishing a Nearby connection.

Summary

This includes parameters like client ID and initialization callback.

Constructors and Destructors

NearbyConnectionConfiguration(Action< InitializationStatus > callback, long localClientId)
Initializes a new instance of the NearbyConnectionConfiguration struct.

Public attributes

MaxReliableMessagePayloadLength = 4096
const int
A constant integer representing the maximum payload length for reliable messages.
MaxUnreliableMessagePayloadLength = 1168
const int
A constant integer representing the maximum payload length for unreliable messages.

Properties

InitializationCallback
Gets the callback to be invoked upon the completion of initialization.
LocalClientId
long
Gets the unique identifier for the local client.

Public attributes

MaxReliableMessagePayloadLength

const int GooglePlayGames::BasicApi::Nearby::NearbyConnectionConfiguration::MaxReliableMessagePayloadLength = 4096

A constant integer representing the maximum payload length for reliable messages.

MaxUnreliableMessagePayloadLength

const int GooglePlayGames::BasicApi::Nearby::NearbyConnectionConfiguration::MaxUnreliableMessagePayloadLength = 1168

A constant integer representing the maximum payload length for unreliable messages.

Properties

InitializationCallback

Action< InitializationStatus > GooglePlayGames::BasicApi::Nearby::NearbyConnectionConfiguration::InitializationCallback

Gets the callback to be invoked upon the completion of initialization.

LocalClientId

long GooglePlayGames::BasicApi::Nearby::NearbyConnectionConfiguration::LocalClientId

Gets the unique identifier for the local client.

Public functions

NearbyConnectionConfiguration

 GooglePlayGames::BasicApi::Nearby::NearbyConnectionConfiguration::NearbyConnectionConfiguration(
  Action< InitializationStatus > callback,
  long localClientId
)

Initializes a new instance of the NearbyConnectionConfiguration struct.

Details
Parameters
callback
A callback that will be invoked when initialization completes.
localClientId
The unique identifier for the local client.