Connections | Entry point for advertising and discovering nearby apps and services, and communicating with them over established connections. |
Connections.ConnectionResponseCallback |
This interface is deprecated.
Use ConnectionLifecycleCallback instead.
|
Connections.MessageListener |
This interface is deprecated.
Use PayloadCallback instead.
|
Connections.StartAdvertisingResult | Result delivered when a local endpoint starts being advertised. |
AdvertisingOptions | Options for a call to startAdvertising(GoogleApiClient, String, String, ConnectionLifecycleCallback, AdvertisingOptions) . |
AppIdentifier |
This class is deprecated.
This class is no longer used.
An identifier for an application; the value of the identifier should be the package name for an Android application to be installed or launched to discover and communicate with the advertised service (e.g. com.example.myapp). Google applications may use this data to prompt the user to install the application. |
AppMetadata |
This class is deprecated.
This class is no longer used.
Metadata about an application. Contains one or more |
ConnectionInfo | Information about a connection that is being initiated. |
ConnectionLifecycleCallback | Listener for lifecycle events associated with a connection to a remote endpoint. |
ConnectionResolution | The result after onConnectionInitiated(String, ConnectionInfo) . |
Connections.ConnectionRequestListener |
This class is deprecated.
Use ConnectionLifecycleCallback instead.
|
Connections.EndpointDiscoveryListener |
This class is deprecated.
Use EndpointDiscoveryCallback
instead.
|
ConnectionsStatusCodes | Status codes for nearby connections results. |
DiscoveredEndpointInfo | Information about an endpoint when it's discovered. |
DiscoveryOptions | Options for a call to startDiscovery(GoogleApiClient, String, EndpointDiscoveryCallback, DiscoveryOptions) . |
EndpointDiscoveryCallback | Listener invoked during endpoint discovery. |
Payload | A Payload sent between devices. |
Payload.File | Represents a file in local storage on the device. |
Payload.Stream | Represents a stream of data. |
PayloadCallback | Listener for incoming/outgoing Payload s between connected endpoints. |
PayloadTransferUpdate | Describes the status for an active Payload transfer, either incoming or outgoing. |
Strategy | The Strategy to be used when discovering or advertising to Nearby devices. |