Added in API level 26
android.companion
Interfaces
DeviceFilter<D extends Parcelable> |
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. |
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 | Public interfaces for managing companion devices. |
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 with device events. |
DevicePresenceEvent | Event for observing device presence. |
ObservingDevicePresenceRequest | A request for setting the types of device for observing device presence. |
ObservingDevicePresenceRequest.Builder |
A builder for ObservingDevicePresenceRequest
|
WifiDeviceFilter | A filter for Wifi devices |
WifiDeviceFilter.Builder |
A builder for WifiDeviceFilter
|
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
associated to the calling app.
|
Interfaces
Classes
- AssociatedDevice
- AssociationInfo
- AssociationRequest
- AssociationRequest.Builder
- BluetoothDeviceFilter
- BluetoothDeviceFilter.Builder
- BluetoothLeDeviceFilter
- BluetoothLeDeviceFilter.Builder
- CompanionDeviceManager
- CompanionDeviceManager.Callback
- CompanionDeviceService
- DevicePresenceEvent
- ObservingDevicePresenceRequest
- ObservingDevicePresenceRequest.Builder
- WifiDeviceFilter
- WifiDeviceFilter.Builder
Exceptions