GooglePlayGames.BasicApi.Nearby.AdvertisingResult

Represents the result of an attempt to start advertising for nearby connections.

Summary

Constructors and Destructors

AdvertisingResult(ResponseStatus status, string localEndpointName)
Constructs a new AdvertisingResult.

Properties

LocalEndpointName
string
Gets the name of the local endpoint used in the advertising operation.
Status
Gets the response status of the advertising operation.
Succeeded
bool
Gets a value indicating whether the advertising operation was successful.

Properties

LocalEndpointName

string GooglePlayGames::BasicApi::Nearby::AdvertisingResult::LocalEndpointName

Gets the name of the local endpoint used in the advertising operation.

Status

ResponseStatus GooglePlayGames::BasicApi::Nearby::AdvertisingResult::Status

Gets the response status of the advertising operation.

Succeeded

bool GooglePlayGames::BasicApi::Nearby::AdvertisingResult::Succeeded

Gets a value indicating whether the advertising operation was successful.

Public functions

AdvertisingResult

 GooglePlayGames::BasicApi::Nearby::AdvertisingResult::AdvertisingResult(
  ResponseStatus status,
  string localEndpointName
)

Constructs a new AdvertisingResult.

Details
Parameters
status
The result of the advertising attempt.
localEndpointName
The name of the local endpoint.
Exceptions
System.ArgumentNullException
If localEndpointName is null.