com.google.android.gms.nearby.connection | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

Loading...
package

# com.google.android.gms.nearby.connection

## Interfaces

Connections | Entry point for advertising and discovering nearby apps and services, and communicating with them over established connections.
Connections.ConnectionRequestListener | Listener invoked when a remote endpoint requests a connection to a local endpoint.
Connections.ConnectionResponseCallback | Callback for responses to connection requests.
Connections.EndpointDiscoveryListener | Listener invoked during endpoint discovery.
Connections.MessageListener | Listener for messages from a remote endpoint.
Connections.StartAdvertisingResult | Result delivered when a local endpoint starts being advertised.

## Classes

AppIdentifier | 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.
AppMetadata | Metadata about an application.
ConnectionsStatusCodes | Status codes for nearby connections results.