android.companion

Interfaces

DeviceFilter

A filter for companion devices of type D

Classes

AssociatedDevice

Container for device info from an association that is not self-managed.

AssociationInfo

Details for a specific "association" that has been established between an app and companion device.

AssociationRequest

A request for the user to select a companion device to associate with.

BluetoothDeviceFilter

A filter for Bluetooth(non-LE) devices

BluetoothLeDeviceFilter

A filter for Bluetooth LE devices

CompanionDeviceManager

System level service for managing companion devices See this guide for a usage example.

CompanionDeviceService

A service that receives calls from the system with device events.

DevicePresenceEvent

Event for observing device presence.

ObservingDevicePresenceRequest

A request for setting the types of device for observing device presence.

WifiDeviceFilter

A filter for Wifi devices

Exceptions

CompanionException

CompanionException can be thrown during the companion system data transfer process.

DeviceNotAssociatedException

An exception for a case when a given device was not android.