Class

AstalBluetoothDevice

Description

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

Object representing a device.

Ancestors

Instance methods

astal_bluetooth_device_connect_device

This is a generic method to connect any profiles the remote device supports that can be connected to. Possible errors: NotReady, Failed, InProgress, AlreadyConnected.

astal_bluetooth_device_disconnect_device

This method gracefully disconnects all connected profiles. Possible errors: NotConnected.

astal_bluetooth_device_connect_profile

This method connects a specific profile of this device. The UUID provided is the remote service UUID for the profile. Possible errors: Failed, InProgress, InvalidArguments, NotAvailable, NotReady.

astal_bluetooth_device_disconnect_profile

This method disconnects a specific profile of this device. Possible errors: Failed, InProgress, InvalidArguments, NotSupported.

astal_bluetooth_device_pair

This method will connect to the remote device and initiate pairing. Possible errors: InvalidArguments, Failed, AlreadyExists, AuthenticationCanceled, AuthenticationFailed, AuthenticationRejected, AuthenticationTimeout, ConnectionAttemptFailed.

astal_bluetooth_device_cancel_pairing

This method can be used to cancel a pairing operation initiated by astal_bluetooth_device_pair(). Possible errors: DoesNotExist, Failed.

astal_bluetooth_device_get_uuids
No description available.

astal_bluetooth_device_get_connected
No description available.

astal_bluetooth_device_get_legacy_pairing
No description available.

astal_bluetooth_device_get_paired
No description available.

astal_bluetooth_device_get_rssi
No description available.

astal_bluetooth_device_get_adapter
No description available.

astal_bluetooth_device_get_address
No description available.

astal_bluetooth_device_get_icon
No description available.

astal_bluetooth_device_get_modalias
No description available.

astal_bluetooth_device_get_name
No description available.

astal_bluetooth_device_get_appearance
No description available.

astal_bluetooth_device_get_class
No description available.

astal_bluetooth_device_get_connecting
No description available.

astal_bluetooth_device_get_blocked
No description available.

astal_bluetooth_device_set_blocked
No description available.

astal_bluetooth_device_get_trusted
No description available.

astal_bluetooth_device_set_trusted
No description available.

astal_bluetooth_device_get_alias
No description available.

astal_bluetooth_device_set_alias
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalBluetooth.Device:uuids

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

AstalBluetooth.Device:connected

Indicates if the remote device is currently connected.

AstalBluetooth.Device:legacy-pairing

true if the device only supports the pre-2.1 pairing mechanism.

AstalBluetooth.Device:paired

Indicates if the remote device is paired.

AstalBluetooth.Device:rssi

Received Signal Strength Indicator of the remote device (inquiry or advertising).

AstalBluetooth.Device:adapter

The object path of the adapter the device belongs to.

AstalBluetooth.Device:address

The Bluetooth device address of the remote device.

AstalBluetooth.Device:icon

Proposed icon name.

AstalBluetooth.Device:modalias

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

AstalBluetooth.Device:name

The Bluetooth remote name. It is always better to use AstalBluetoothDevice:alias.

AstalBluetooth.Device:appearance

External appearance of device, as found on GAP service.

AstalBluetooth.Device:class

The Bluetooth class of device of the remote device.

AstalBluetooth.Device:connecting

Indicates if this device is currently trying to be connected.

AstalBluetooth.Device:blocked

If set to true any incoming connections from the device will be immediately rejected.

AstalBluetooth.Device:trusted

Indicates if the remote is seen as trusted.

AstalBluetooth.Device:alias

The name alias for the remote device. In case no alias is set, it will return the remote device AstalBluetoothDevice:name.

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 AstalBluetoothDeviceClass {
  /* no available fields */
}

No description available.