Class
AstalBluetoothAdapter
Description
class AstalBluetooth.Adapter : GObject.Object
{
/* No available fields */
}
Object representing an adapter.
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.
Properties
AstalBluetooth.Adapter:modalias
Local Device ID information in modalias format used by the kernel and udev.
AstalBluetooth.Adapter:discoverable
Switch an adapter to discoverable or non-discoverable to either make it visible or hide it.
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.