java.lang.Object | |
↳ | com.google.android.gms.nearby.connection.EndpointDiscoveryCallback |
Listener invoked during endpoint discovery.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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, DiscoveredEndpointInfo) . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Called when a remote endpoint is discovered.
Parameters | |
---|---|
endpointId |
String :
The ID of the remote endpoint that was discovered. |
info |
DiscoveredEndpointInfo :
Additional information about the endpoint.
|
Called when a remote endpoint is no longer discoverable; only called for endpoints that
previously had been passed to onEndpointFound(String, DiscoveredEndpointInfo)
.
Parameters | |
---|---|
endpointId |
String :
The ID of the remote endpoint that was lost.
|