java.lang.Object | |
↳ | com.google.android.gms.nearby.connection.Connections.ConnectionRequestListener |
This class is deprecated.
Use ConnectionLifecycleCallback
instead.
Listener invoked when a remote endpoint requests a connection to a local endpoint.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when a remote endpoint requests a connection to a local endpoint.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Called when a remote endpoint requests a connection to a local endpoint.
Parameters | |
---|---|
remoteEndpointId |
String :
The ID of the remote endpoint requesting a connection. |
remoteEndpointName |
String :
The human readable name of the remote endpoint. |
handshakeData |
byte :
Bytes of a custom message sent with the connection request.
|