NM.SettingBluetooth

g GObject.Object GObject.Object NM.Setting NM.Setting GObject.Object->NM.Setting NM.SettingBluetooth NM.SettingBluetooth NM.Setting->NM.SettingBluetooth

Subclasses:

None

Methods

Inherited:

NM.Setting (21), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_bdaddr ()

get_connection_type ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

NM.Setting (1)

Name

Type

Flags

Short Description

bdaddr

str

r/w/en

type

str

r/w/en

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class NM.SettingBluetooth(**kwargs)
Bases:

NM.Setting

Abstract:

No

Structure:

NM.SettingBluetoothClass

Bluetooth Settings

classmethod new()
Returns:

the new empty NM.SettingBluetooth object

Return type:

NM.Setting

Creates a new NM.SettingBluetooth object with default values.

get_bdaddr()
Returns:

the Bluetooth address

Return type:

str

Gets the Bluetooth address of the remote device which this setting describes a connection to.

get_connection_type()
Returns:

the type, either NM.SETTING_BLUETOOTH_TYPE_PANU, NM.SETTING_BLUETOOTH_TYPE_NAP or NM.SETTING_BLUETOOTH_TYPE_DUN

Return type:

str

Returns the connection method for communicating with the remote device (i.e. either DUN to a DUN-capable device or PANU to a NAP-capable device).

Property Details

NM.SettingBluetooth.props.bdaddr
Name:

bdaddr

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

The Bluetooth address of the device.

NM.SettingBluetooth.props.type
Name:

type

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Either “dun” for Dial-Up Networking connections or “panu” for Personal Area Networking connections to devices supporting the NAP profile.