Stay organized with collections Save and categorize content based on your preferences.
Added in API level 26

android.companion

Interfaces

DeviceFilter<D extends Parcelable> A filter for companion devices of type D 

Classes

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. 
AssociationRequest.Builder A builder for AssociationRequest 
BluetoothDeviceFilter A filter for Bluetooth(non-LE) devices 
BluetoothDeviceFilter.Builder A builder for BluetoothDeviceFilter 
BluetoothLeDeviceFilter A filter for Bluetooth LE devices 
BluetoothLeDeviceFilter.Builder Builder for BluetoothLeDeviceFilter 
CompanionDeviceManager System level service for managing companion devices See this guide for a usage example. 
CompanionDeviceManager.Callback Callback for applications to receive updates about and the outcome of AssociationRequest issued via associate() call. 
CompanionDeviceService A service that receives calls from the system when the associated companion device appears nearby or is connected, as well as when the device is no longer "present" or connected. 
WifiDeviceFilter A filter for Wifi devices 
WifiDeviceFilter.Builder A builder for WifiDeviceFilter 

Exceptions

DeviceNotAssociatedException An exception for a case when a given device was not associated to the calling app.