Enums

Details

class GnomeBluetooth.Category(value)

Bases: GLib.Enum

The category of a Bluetooth devices.

ALL = 0

all devices

PAIRED = 1

paired devices

TRUSTED = 2

trusted devices

NOT_PAIRED_OR_TRUSTED = 3

neither paired, nor trusted devices

PAIRED_OR_TRUSTED = 4

paired and/or trusted devices

class GnomeBluetooth.Column(value)

Bases: GLib.Enum

A column identifier to pass to GnomeBluetooth.Chooser.get_selected_device_info().

PROXY = 0

a Gio.DBusProxy object

PROPERTIES = 1

Used to be Gio.DBusProxy object for DBus.Properties, now always None

CONNECTED = 10

whether the device is connected. Only available for devices.

DISCOVERABLE = 11

whether the adapter is discoverable/visible. Only available for adapters.

DISCOVERING = 12

whether the adapter is discovering. Only available for adapters.

LEGACYPAIRING = 13

whether the device does not support Bluetooth 2.1 Simple Secure Pairing. Only available for devices.

POWERED = 14

whether the adapter is powered. Only available for adapters.

SERVICES = 15

an array of service names and GnomeBluetooth.Status connection statuses.

UUIDS = 16

a string array of human-readable UUIDs.

ADDRESS = 2

a string representing a Bluetooth address

ALIAS = 3

a string to use for display (the name of the device, or its address if the name is not known). Only available for devices.

NAME = 4

a string representing the device or adapter’s name

TYPE = 5

the GnomeBluetooth.Type of the device. Only available for devices.

ICON = 6

a string representing the icon name for the device. Only available for devices.

DEFAULT = 7

whether the adapter is the default one. Only available for adapters.

PAIRED = 8

whether the device is paired to its parent adapter. Only available for devices.

TRUSTED = 9

whether the device is trusted. Only available for devices.

class GnomeBluetooth.Status(value)

Bases: GLib.Enum

The connection status of a service on a particular device. Note that GnomeBluetooth.Status.CONNECTING and GnomeBluetooth.Status.PLAYING might not be available for all services.

INVALID = 0

whether the status has been set yet

DISCONNECTED = 1

whether the service is disconnected

CONNECTED = 2

whether the service is connected

CONNECTING = 3

whether the service is connecting

PLAYING = 4

whether the service is playing (only used by the audio service)