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

Description

CDMA-based Mobile Broadband Settings

Synopsis

Exported types

newtype SettingCdma Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf SettingCdma o) => IsSettingCdma o Source #

Type class for types which can be safely cast to SettingCdma, for instance with toSettingCdma.

Instances

Instances details
(GObject o, IsDescendantOf SettingCdma o) => IsSettingCdma o Source # 
Instance details

Defined in GI.NM.Objects.SettingCdma

toSettingCdma :: (MonadIO m, IsSettingCdma o) => o -> m SettingCdma Source #

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

Methods

getMtu

settingCdmaGetMtu Source #

Arguments

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

setting: the SettingCdma

-> m Word32

Returns: the SettingCdma:mtu property of the setting

No description available in the introspection data.

Since: 1.8

getNumber

settingCdmaGetNumber Source #

Arguments

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

setting: the SettingCdma

-> m Text

Returns: the SettingCdma:number property of the setting

No description available in the introspection data.

getPassword

settingCdmaGetPassword Source #

Arguments

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

setting: the SettingCdma

-> m Text

Returns: the SettingCdma:password property of the setting

No description available in the introspection data.

getPasswordFlags

settingCdmaGetPasswordFlags Source #

Arguments

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

setting: the SettingCdma

-> m [SettingSecretFlags]

Returns: the SettingSecretFlags pertaining to the SettingCdma:password

No description available in the introspection data.

getUsername

settingCdmaGetUsername Source #

Arguments

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

setting: the SettingCdma

-> m Text

Returns: the SettingCdma:username property of the setting

No description available in the introspection data.

new

settingCdmaNew Source #

Arguments

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

Returns: the new empty SettingCdma object

Creates a new SettingCdma object with default values.

Properties

mtu

If non-zero, only transmit packets of the specified size or smaller, breaking larger packets up into multiple frames.

Since: 1.8

constructSettingCdmaMtu :: (IsSettingCdma o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingCdmaMtu :: (MonadIO m, IsSettingCdma o) => o -> m Word32 Source #

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

get settingCdma #mtu

setSettingCdmaMtu :: (MonadIO m, IsSettingCdma o) => o -> Word32 -> m () Source #

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

set settingCdma [ #mtu := value ]

number

The number to dial to establish the connection to the CDMA-based mobile broadband network, if any. If not specified, the default number (777) is used when required.

clearSettingCdmaNumber :: (MonadIO m, IsSettingCdma o) => o -> m () Source #

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

clear #number

constructSettingCdmaNumber :: (IsSettingCdma o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingCdmaNumber :: (MonadIO m, IsSettingCdma o) => o -> m Text Source #

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

get settingCdma #number

setSettingCdmaNumber :: (MonadIO m, IsSettingCdma o) => o -> Text -> m () Source #

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

set settingCdma [ #number := value ]

password

The password used to authenticate with the network, if required. Many providers do not require a password, or accept any password. But if a password is required, it is specified here.

clearSettingCdmaPassword :: (MonadIO m, IsSettingCdma o) => o -> m () Source #

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

clear #password

constructSettingCdmaPassword :: (IsSettingCdma o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingCdmaPassword :: (MonadIO m, IsSettingCdma o) => o -> m Text Source #

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

get settingCdma #password

setSettingCdmaPassword :: (MonadIO m, IsSettingCdma o) => o -> Text -> m () Source #

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

set settingCdma [ #password := value ]

passwordFlags

Flags indicating how to handle the SettingCdma:password property.

constructSettingCdmaPasswordFlags :: (IsSettingCdma o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o) Source #

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

getSettingCdmaPasswordFlags :: (MonadIO m, IsSettingCdma o) => o -> m [SettingSecretFlags] Source #

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

get settingCdma #passwordFlags

setSettingCdmaPasswordFlags :: (MonadIO m, IsSettingCdma o) => o -> [SettingSecretFlags] -> m () Source #

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

set settingCdma [ #passwordFlags := value ]

username

The username used to authenticate with the network, if required. Many providers do not require a username, or accept any username. But if a username is required, it is specified here.

clearSettingCdmaUsername :: (MonadIO m, IsSettingCdma o) => o -> m () Source #

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

clear #username

constructSettingCdmaUsername :: (IsSettingCdma o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingCdmaUsername :: (MonadIO m, IsSettingCdma o) => o -> m Text Source #

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

get settingCdma #username

setSettingCdmaUsername :: (MonadIO m, IsSettingCdma o) => o -> Text -> m () Source #

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

set settingCdma [ #username := value ]