![]() |
![]() |
![]() |
libnm-glib Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#define NM_DEVICE_BT_HW_ADDRESS #define NM_DEVICE_BT_NAME #define NM_DEVICE_BT_CAPABILITIES NMDeviceBt; NMDeviceBtClass; GObject * nm_device_bt_new (DBusGConnection *connection
,const char *path
); const char * nm_device_bt_get_hw_address (NMDeviceBt *device
); const char * nm_device_bt_get_name (NMDeviceBt *device
); NMBluetoothCapabilities nm_device_bt_get_capabilities (NMDeviceBt *device
);
typedef struct { NMDeviceClass parent; /* Padding for future expansion */ void (*_reserved1) (void); void (*_reserved2) (void); void (*_reserved3) (void); void (*_reserved4) (void); void (*_reserved5) (void); void (*_reserved6) (void); } NMDeviceBtClass;
GObject * nm_device_bt_new (DBusGConnection *connection
,const char *path
);
Creates a new NMDeviceBt.
|
the DBusGConnection |
|
the DBus object path of the device |
Returns : |
a new device. [transfer full] |
const char * nm_device_bt_get_hw_address (NMDeviceBt *device
);
Gets the hardware (MAC) address of the NMDeviceBt
|
a NMDeviceBt |
Returns : |
the hardware address. This is the internal string used by the device, and must not be modified. |
const char * nm_device_bt_get_name (NMDeviceBt *device
);
Gets the name of the NMDeviceBt.
|
a NMDeviceBt |
Returns : |
the name of the device |
NMBluetoothCapabilities nm_device_bt_get_capabilities (NMDeviceBt *device
);
Returns the Bluetooth device's usable capabilities.
|
a NMDeviceBt |
Returns : |
a combination of NMBluetoothCapabilities |