AI-generated Key Takeaways
-
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.
Result delivered when a local endpoint starts being advertised.
Possible status codes include:
ConnectionsStatusCodes.STATUS_OKif advertising started successfully.ConnectionsStatusCodes.STATUS_ALREADY_ADVERTISINGif the app is already advertising itself.ConnectionsStatusCodes.STATUS_ERRORif an unknown error occurred while advertising the app.
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.