| com.google.android.gms.nearby.connection.Connections.ConnectionRequestListener |
Listener invoked when a remote endpoint requests a connection to a local endpoint.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when a remote endpoint requests a connection to a local endpoint.
| |||||||||||
Called when a remote endpoint requests a connection to a local endpoint.
| remoteEndpointId | The ID of the remote endpoint requesting a connection. |
|---|---|
| remoteDeviceId | The ID of the remote device requesting a connection. |
| remoteEndpointName | The human readable name of the remote endpoint. |
| payload | Bytes of a custom message sent with the connection request. |