gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Objects.SettingBluetooth

Description

Bluetooth Settings

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingBluetooth o) => IsSettingBluetooth o Source #

Type class for types which can be safely cast to SettingBluetooth, for instance with toSettingBluetooth.

Instances

Instances details
(GObject o, IsDescendantOf SettingBluetooth o) => IsSettingBluetooth o Source # 
Instance details

Defined in GI.NM.Objects.SettingBluetooth

toSettingBluetooth :: (MonadIO m, IsSettingBluetooth o) => o -> m SettingBluetooth Source #

Cast to SettingBluetooth, for types for which this is known to be safe. For general casts, use castTo.

Methods

getBdaddr

settingBluetoothGetBdaddr Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettingBluetooth a) 
=> a

setting: the SettingBluetooth

-> m Text

Returns: the Bluetooth address

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

getConnectionType

settingBluetoothGetConnectionType Source #

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).

new

settingBluetoothNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m SettingBluetooth

Returns: the new empty SettingBluetooth object

Creates a new SettingBluetooth object with default values.

Properties

bdaddr

The Bluetooth address of the device.

clearSettingBluetoothBdaddr :: (MonadIO m, IsSettingBluetooth o) => o -> m () Source #

Set the value of the “bdaddr” property to Nothing. When overloading is enabled, this is equivalent to

clear #bdaddr

constructSettingBluetoothBdaddr :: (IsSettingBluetooth o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “bdaddr” property. This is rarely needed directly, but it is used by new.

getSettingBluetoothBdaddr :: (MonadIO m, IsSettingBluetooth o) => o -> m Text Source #

Get the value of the “bdaddr” property. When overloading is enabled, this is equivalent to

get settingBluetooth #bdaddr

setSettingBluetoothBdaddr :: (MonadIO m, IsSettingBluetooth o) => o -> Text -> m () Source #

Set the value of the “bdaddr” property. When overloading is enabled, this is equivalent to

set settingBluetooth [ #bdaddr := value ]

type

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

clearSettingBluetoothType :: (MonadIO m, IsSettingBluetooth o) => o -> m () Source #

Set the value of the “type” property to Nothing. When overloading is enabled, this is equivalent to

clear #type

constructSettingBluetoothType :: (IsSettingBluetooth o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “type” property. This is rarely needed directly, but it is used by new.

getSettingBluetoothType :: (MonadIO m, IsSettingBluetooth o) => o -> m (Maybe Text) Source #

Get the value of the “type” property. When overloading is enabled, this is equivalent to

get settingBluetooth #type

setSettingBluetoothType :: (MonadIO m, IsSettingBluetooth o) => o -> Text -> m () Source #

Set the value of the “type” property. When overloading is enabled, this is equivalent to

set settingBluetooth [ #type := value ]