Added in API level 30

DeviceTypes


open class DeviceTypes
kotlin.Any
   ↳ android.service.controls.DeviceTypes

Device types for Control. Each Control declares a type for the device they represent. This type will be used to determine icons and colors.

The type of the device may change on status updates of the Control. For example, a device of TYPE_OUTLET could be determined by the ControlsProviderService to be a TYPE_COFFEE_MAKER and change the type for that Control, therefore possibly changing icon and color.

In case the device type is not know by the application but the basic function is, or there is no provided type, one of the generic types (those starting with TYPE_GENERIC) can be used. These will provide an identifiable icon based on the basic function of the device.

Summary

Constants
static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

static Int

Value is one of the following:

Public methods
open static Boolean
validDeviceType(deviceType: Int)

Constants

Public methods

validDeviceType

Added in API level 30
open static fun validDeviceType(deviceType: Int): Boolean