bluetooth-enums: gnome-bluetooth Reference Manual

## bluetooth-enums bluetooth-enums — Bluetooth related enumerations |

## Stability Level

Stable, unless otherwise indicated

## Types and Values

enum | BluetoothType
#define | BLUETOOTH_TYPE_INPUT
#define | BLUETOOTH_TYPE_AUDIO
enum | BluetoothBatteryType
enum | BluetoothAdapterState

## Object Hierarchy

        GFlags
        ╰── BluetoothType

## Includes

    #include <bluetooth-enums.h>

## Description

Enumerations related to Bluetooth.

## Functions

## Types and Values

### enum BluetoothType

The type of a Bluetooth device. See also `BLUETOOTH_TYPE_INPUT` and `BLUETOOTH_TYPE_AUDIO`

#### Members

BLUETOOTH_TYPE_ANY | any device, or a device of an unknown type |
BLUETOOTH_TYPE_PHONE | a telephone (usually a cell/mobile phone) |
BLUETOOTH_TYPE_MODEM | a modem |
BLUETOOTH_TYPE_COMPUTER | a computer, can be a laptop, a wearable computer, etc. |
BLUETOOTH_TYPE_NETWORK | a network device, such as a router |
BLUETOOTH_TYPE_HEADSET | a headset (usually a hands-free device) |
BLUETOOTH_TYPE_HEADPHONES | headphones (covers two ears) |
BLUETOOTH_TYPE_OTHER_AUDIO | another type of audio device |
BLUETOOTH_TYPE_KEYBOARD | a keyboard |
BLUETOOTH_TYPE_MOUSE | a mouse |
BLUETOOTH_TYPE_CAMERA | a camera (still or moving) |
BLUETOOTH_TYPE_PRINTER | a printer |
BLUETOOTH_TYPE_JOYPAD | a joypad, joystick, or other game controller |
BLUETOOTH_TYPE_TABLET | a drawing tablet |
BLUETOOTH_TYPE_VIDEO | a video device, such as a webcam |
BLUETOOTH_TYPE_REMOTE_CONTROL | a remote control |
BLUETOOTH_TYPE_SCANNER | a scanner |
BLUETOOTH_TYPE_DISPLAY | a display |
BLUETOOTH_TYPE_WEARABLE | a wearable computer |
BLUETOOTH_TYPE_TOY | a toy or game |
BLUETOOTH_TYPE_SPEAKERS | audio speaker or speakers |

### BLUETOOTH_TYPE_INPUT

    #define BLUETOOTH_TYPE_INPUT (BLUETOOTH_TYPE_KEYBOARD | BLUETOOTH_TYPE_MOUSE | BLUETOOTH_TYPE_TABLET | BLUETOOTH_TYPE_JOYPAD)

Use this value to select any Bluetooth input device where a BluetoothType enum is required.

### BLUETOOTH_TYPE_AUDIO

    #define BLUETOOTH_TYPE_AUDIO (BLUETOOTH_TYPE_HEADSET | BLUETOOTH_TYPE_HEADPHONES | BLUETOOTH_TYPE_OTHER_AUDIO | BLUETOOTH_TYPE_SPEAKERS)

Use this value to select any Bluetooth audio device where a BluetoothType enum is required.

### enum BluetoothBatteryType

The type of battery reporting supported by the device.

#### Members

BLUETOOTH_BATTERY_TYPE_NONE | no battery reporting |
BLUETOOTH_BATTERY_TYPE_PERCENTAGE | battery reported in percentage |
BLUETOOTH_BATTERY_TYPE_COARSE | battery reported coarsely |

### enum BluetoothAdapterState

A more precise power state for a Bluetooth adapter.

#### Members

BLUETOOTH_ADAPTER_STATE_ABSENT | Bluetooth adapter is missing. |
BLUETOOTH_ADAPTER_STATE_ON | Bluetooth adapter is on. |
BLUETOOTH_ADAPTER_STATE_TURNING_ON | Bluetooth adapter is being turned on. |
BLUETOOTH_ADAPTER_STATE_TURNING_OFF | Bluetooth adapter is being turned off. |
BLUETOOTH_ADAPTER_STATE_OFF | Bluetooth adapter is off. |