Connections.StartAdvertisingResult

  • Connections.StartAdvertisingResult is a Result delivered when a local endpoint starts being advertised.

  • Possible status codes include STATUS_OK, STATUS_ALREADY_ADVERTISING, and STATUS_ERROR.

  • The getLocalEndpointName method retrieves the human readable name for the local endpoint being advertised.

public static interface Connections.StartAdvertisingResult implements Result

Result delivered when a local endpoint starts being advertised.

Possible status codes include:

Public Method Summary

abstract String
getLocalEndpointName()
Retrieves the human readable name for the local endpoint being advertised (possibly after resolving name collisions.)

Inherited Method Summary

Public Methods

public abstract String getLocalEndpointName ()

Retrieves the human readable name for the local endpoint being advertised (possibly after resolving name collisions.)

Returns
  • The name of the local endpoint.