com.google.android.gms.nearby.connection.Connections.EndpointDiscoveryListener |
Listener invoked during endpoint discovery.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when a remote endpoint is discovered.
| |||||||||||
Called when a remote endpoint is no longer discoverable; only called for endpoints
that previously had been passed to
onEndpointFound(String, String, String, String) .
|
Called when a remote endpoint is discovered.
endpointId | The ID of the remote endpoint that was discovered. |
---|---|
deviceId | The ID of the remote device that was discovered. |
serviceId | The ID of the service of the remote endpoint. |
name | The human readable name of the remote endpoint. |
Called when a remote endpoint is no longer discoverable; only called for endpoints
that previously had been passed to
onEndpointFound(String, String, String, String)
.
endpointId | The ID of the remote endpoint that was lost. |
---|