Android.Companion Namespace

Classes

Name Description
ActionRequest

Represents a request for a companion app to perform a specific action.

ActionRequest.Builder

A builder for creating ActionRequest.

ActionRequest.InterfaceConsts
ActionResult

A result reported by a companion app in response to an ActionRequest.

ActionResult.Builder

Builder for creating an ActionResult.

ActionResult.InterfaceConsts
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

Public interfaces for managing companion devices.

CompanionDeviceManager.Callback

Callback for applications to receive updates about and the outcome of AssociationRequest issued via associate() call.

CompanionDeviceManager.TrustPairingCallback

Callback for applications to receive updates about and the outcome of #requestDeviceTrustPairing

CompanionDeviceService

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

CompanionException

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

DeviceId

A device id represents a device identifier managed by the companion app.

DeviceId.Builder

A builder for DeviceId

DeviceId.InterfaceConsts
DeviceNotAssociatedException

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

DevicePresenceEvent

Event for observing device presence.

DevicePresenceEvent.InterfaceConsts
ObservingDevicePresenceRequest

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

ObservingDevicePresenceRequest.Builder

A builder for ObservingDevicePresenceRequest

ObservingDevicePresenceRequest.InterfaceConsts
OutOfBandPairingRequest

Represents a request for out-of-band pairing.

OutOfBandPairingRequest.Builder

A builder for creating OutOfBandPairingRequest.

OutOfBandPairingRequest.InterfaceConsts
WifiDeviceFilter

A filter for Wifi devices

WifiDeviceFilter.Builder

A builder for WifiDeviceFilter

Interfaces

Name Description
IDeviceFilter

A filter for companion devices of type D

Enums

Name Description
CompanionDeviceManagerTrustErrorCode
CompanionDeviceManagerTrustType
CompanionDeviceResult
DevicePresenceEventType
RequestAction
RequestOperation
ResultCode
SystemDataSyncFlags