java.lang.Object | |
↳ | com.google.android.gms.nearby.connection.ConnectionInfo |
Information about a connection that is being initiated.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A small symmetrical token that has been given to both devices.
| |||||||||||
The name of the remote device we're connecting to.
| |||||||||||
True if the connection request was initated from a remote device.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Parameters | |
---|---|
endpointName |
String
|
authenticationToken |
String
|
isIncomingConnection |
boolean
|
A small symmetrical token that has been given to both devices.
Returns | |
---|---|
String |
The name of the remote device we're connecting to.
Returns | |
---|---|
String |
True if the connection request was initated from a remote device. False if this device was the one to try and initiate the connection.
Returns | |
---|---|
boolean |