Class

AstalBluetoothAdapter

Description

class AstalBluetooth.Adapter : GObject.Object
{
  /* No available fields */
}

Object representing an adapter.

Ancestors

Instance methods

astal_bluetooth_adapter_remove_device

This removes the remote device and the pairing information. Possible errors: InvalidArguments, Failed.

astal_bluetooth_adapter_start_discovery

This method starts the device discovery procedure. Possible errors: NotReady, Failed.

astal_bluetooth_adapter_stop_discovery

This method will cancel any previous astal_bluetooth_adapter_start_discovery() procedure. Possible errors: NotReady, Failed, NotAuthorized.

astal_bluetooth_adapter_get_uuids
No description available.

astal_bluetooth_adapter_get_discovering
No description available.

astal_bluetooth_adapter_get_modalias
No description available.

astal_bluetooth_adapter_get_name
No description available.

astal_bluetooth_adapter_get_class
No description available.

astal_bluetooth_adapter_get_address
No description available.

astal_bluetooth_adapter_get_discoverable
No description available.

astal_bluetooth_adapter_set_discoverable
No description available.

astal_bluetooth_adapter_get_pairable
No description available.

astal_bluetooth_adapter_set_pairable
No description available.

astal_bluetooth_adapter_get_powered
No description available.

astal_bluetooth_adapter_set_powered
No description available.

astal_bluetooth_adapter_get_alias
No description available.

astal_bluetooth_adapter_set_alias
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalBluetooth.Adapter:uuids

List of 128-bit UUIDs that represents the available local services.

AstalBluetooth.Adapter:discovering

Indicates that a device discovery procedure is active.

AstalBluetooth.Adapter:modalias

Local Device ID information in modalias format used by the kernel and udev.

AstalBluetooth.Adapter:name

The Bluetooth system name (pretty hostname).

AstalBluetooth.Adapter:class

The Bluetooth class of device.

AstalBluetooth.Adapter:address

The Bluetooth device address.

AstalBluetooth.Adapter:discoverable

Switch an adapter to discoverable or non-discoverable to either make it visible or hide it.

AstalBluetooth.Adapter:pairable

Switch an adapter to pairable or non-pairable.

AstalBluetooth.Adapter:powered

Switch an adapter on or off.

AstalBluetooth.Adapter:alias

The Bluetooth friendly name. In case no alias is set, it will return AstalBluetoothAdapter:name.

AstalBluetooth.Adapter:discoverable-timeout

The discoverable timeout in seconds. A value of zero means that the timeout is disabled and it will stay in discoverable/limited mode forever until astal_bluetooth_adapter_stop_discovery() is invoked. The default value for the discoverable timeout should be 180.

AstalBluetooth.Adapter:pairable-timeout

The pairable timeout in seconds. A value of zero means that the timeout is disabled and it will stay in pairable mode forever. The default value for pairable timeout should be disabled 0.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalBluetoothAdapterClass {
  /* no available fields */
}

No description available.