com.google.android.gms.nearby.connection

Annotations

Payload.Type The type of this payload. 
PayloadTransferUpdate.Status The status of the payload transfer at the time of this update. 

Interfaces

Connections This interface was deprecated. Use ConnectionsClient.  
Connections.ConnectionResponseCallback This interface was deprecated. Use ConnectionLifecycleCallback instead.  
Connections.MessageListener This interface was deprecated. Use PayloadCallback instead.  
Connections.StartAdvertisingResult Result delivered when a local endpoint starts being advertised. 

Classes

AdvertisingOptions Options for a call to startAdvertising(GoogleApiClient, String, String, ConnectionLifecycleCallback, AdvertisingOptions)
AdvertisingOptions.Builder Builder class for AdvertisingOptions  
AppIdentifier This class was 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 was deprecated. This class is no longer used.

Metadata about an application. Contains one or more AppIdentifier objects indicating identifiers that can be used to install or launch application(s) that can discover and communicate with the advertised service. Google applications may use this data to prompt the user to install the application.  

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 was deprecated. Use ConnectionLifecycleCallback instead.  
Connections.EndpointDiscoveryListener This class was deprecated. Use EndpointDiscoveryCallback instead.  
ConnectionsClient Entry point for advertising and discovering nearby apps and services, and communicating with them over established connections. 
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)
DiscoveryOptions.Builder Builder class for 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 Payloads between connected endpoints. 
PayloadTransferUpdate Describes the status for an active Payload transfer, either incoming or outgoing. 
PayloadTransferUpdate.Builder This class was deprecated. Builder class for PayloadTransferUpdate.  
Strategy The Strategy to be used when discovering or advertising to Nearby devices.