Partager via


Android.Companion Namespace

Classes

AssociatedDevice

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

AssociatedDevice.InterfaceConsts
AssociationInfo

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

AssociationInfo.InterfaceConsts
AssociationRequest

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

AssociationRequest.Builder

A builder for AssociationRequest

AssociationRequest.InterfaceConsts
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 <a href="https://developer.android.com/guide/topics/connectivity/companion-device-pairing">this guide</a>
        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.

CompanionException

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

DeviceNotAssociatedException

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

WifiDeviceFilter

A filter for Wifi devices

WifiDeviceFilter.Builder

A builder for WifiDeviceFilter

Interfaces

IDeviceFilter

A filter for companion devices of type D

Enums

CompanionDeviceResult
SystemDataSyncFlags