PhoshBtManager
PhoshBtManager — Tracks the Bluetooth status
|
|
Object Hierarchy
GObject
╰── PhoshBtManager
Description
PhoshBtManager tracks the Bluetooth status that
is whether the adapter is present and enabled.
Functions
phosh_bt_manager_get_icon_name ()
const char *
phosh_bt_manager_get_icon_name (PhoshBtManager *self
);
phosh_bt_manager_get_enabled ()
gboolean
phosh_bt_manager_get_enabled (PhoshBtManager *self
);
phosh_bt_manager_get_present ()
gboolean
phosh_bt_manager_get_present (PhoshBtManager *self
);
Types and Values
PHOSH_TYPE_BT_MANAGER
#define PHOSH_TYPE_BT_MANAGER (phosh_bt_manager_get_type ())
PhoshBtManager
typedef struct _PhoshBtManager PhoshBtManager;
Property Details
The “enabled”
property
“enabled” gboolean
Whether bluetooth hardware is enabled.
Flags: Read
Default value: FALSE
The “icon-name”
property
“icon-name” gchar *
The bt icon name.
Flags: Read
Default value: "bluetooth-disabled-symbolic"
The “present”
property
“present” gboolean
Whether bluettoh hardware is present.
Flags: Read
Default value: FALSE