Device
class Device
| kotlin.Any | |
| ↳ | android.bluetooth.BluetoothClass.Device |
Defines standard device class constants based on the Bluetooth specification.
Each BluetoothClass encodes exactly one device class, with major and minor components.
The constants in BluetoothClass.Device represent a combination of major and minor device components (the complete device class). The constants in BluetoothClass.Device.Major represent only major device classes.
Note: The set of device classes is not exhaustive and will expand as the Bluetooth specification evolves. Applications should expect and gracefully handle newly introduced or unmapped device class values.
See BluetoothClass.Service for service class constants.
Summary
| Nested classes | |
|---|---|
| open |
Defines standard major device class constants based on the Bluetooth specification. |
| Constants | |
|---|---|
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int |
Minor device class constant representing a hearing aid device. |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| static Int | |
| Public constructors | |
|---|---|
Device() |
|
Constants
AUDIO_VIDEO_HEARING_AID
static val AUDIO_VIDEO_HEARING_AID: Int
Minor device class constant representing a hearing aid device.
This constant indicates that the Bluetooth device is a hearing aid within the Major.AUDIO_VIDEO major device class. It can be compared against the result of BluetoothClass.getDeviceClass() to identify hearing aid devices.
Value: 1100AUDIO_VIDEO_PORTABLE_AUDIO
static val AUDIO_VIDEO_PORTABLE_AUDIO: Int
Value: 1052AUDIO_VIDEO_UNCATEGORIZED
static val AUDIO_VIDEO_UNCATEGORIZED: Int
Value: 1024AUDIO_VIDEO_VIDEO_CONFERENCING
static val AUDIO_VIDEO_VIDEO_CONFERENCING: Int
Value: 1088AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER
static val AUDIO_VIDEO_VIDEO_DISPLAY_AND_LOUDSPEAKER: Int
Value: 1084AUDIO_VIDEO_VIDEO_GAMING_TOY
static val AUDIO_VIDEO_VIDEO_GAMING_TOY: Int
Value: 1096AUDIO_VIDEO_VIDEO_MONITOR
static val AUDIO_VIDEO_VIDEO_MONITOR: Int
Value: 1080AUDIO_VIDEO_WEARABLE_HEADSET
static val AUDIO_VIDEO_WEARABLE_HEADSET: Int
Value: 1028PERIPHERAL_KEYBOARD_POINTING
static val PERIPHERAL_KEYBOARD_POINTING: Int
Value: 1472PERIPHERAL_NON_KEYBOARD_NON_POINTING
static val PERIPHERAL_NON_KEYBOARD_NON_POINTING: Int
Value: 1280