Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.SettingCdma
Description
CDMA-based Mobile Broadband Settings
Synopsis
- newtype SettingCdma = SettingCdma (ManagedPtr SettingCdma)
- class (GObject o, IsDescendantOf SettingCdma o) => IsSettingCdma o
- toSettingCdma :: (MonadIO m, IsSettingCdma o) => o -> m SettingCdma
- settingCdmaGetMtu :: (HasCallStack, MonadIO m, IsSettingCdma a) => a -> m Word32
- settingCdmaGetNumber :: (HasCallStack, MonadIO m, IsSettingCdma a) => a -> m Text
- settingCdmaGetPassword :: (HasCallStack, MonadIO m, IsSettingCdma a) => a -> m Text
- settingCdmaGetPasswordFlags :: (HasCallStack, MonadIO m, IsSettingCdma a) => a -> m [SettingSecretFlags]
- settingCdmaGetUsername :: (HasCallStack, MonadIO m, IsSettingCdma a) => a -> m Text
- settingCdmaNew :: (HasCallStack, MonadIO m) => m SettingCdma
- constructSettingCdmaMtu :: (IsSettingCdma o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingCdmaMtu :: (MonadIO m, IsSettingCdma o) => o -> m Word32
- setSettingCdmaMtu :: (MonadIO m, IsSettingCdma o) => o -> Word32 -> m ()
- clearSettingCdmaNumber :: (MonadIO m, IsSettingCdma o) => o -> m ()
- constructSettingCdmaNumber :: (IsSettingCdma o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingCdmaNumber :: (MonadIO m, IsSettingCdma o) => o -> m Text
- setSettingCdmaNumber :: (MonadIO m, IsSettingCdma o) => o -> Text -> m ()
- clearSettingCdmaPassword :: (MonadIO m, IsSettingCdma o) => o -> m ()
- constructSettingCdmaPassword :: (IsSettingCdma o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingCdmaPassword :: (MonadIO m, IsSettingCdma o) => o -> m Text
- setSettingCdmaPassword :: (MonadIO m, IsSettingCdma o) => o -> Text -> m ()
- constructSettingCdmaPasswordFlags :: (IsSettingCdma o, MonadIO m) => [SettingSecretFlags] -> m (GValueConstruct o)
- getSettingCdmaPasswordFlags :: (MonadIO m, IsSettingCdma o) => o -> m [SettingSecretFlags]
- setSettingCdmaPasswordFlags :: (MonadIO m, IsSettingCdma o) => o -> [SettingSecretFlags] -> m ()
- clearSettingCdmaUsername :: (MonadIO m, IsSettingCdma o) => o -> m ()
- constructSettingCdmaUsername :: (IsSettingCdma o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingCdmaUsername :: (MonadIO m, IsSettingCdma o) => o -> m Text
- setSettingCdmaUsername :: (MonadIO m, IsSettingCdma o) => o -> Text -> m ()
Exported types
newtype SettingCdma Source #
Memory-managed wrapper type.
Constructors
SettingCdma (ManagedPtr SettingCdma) |
Instances
Eq SettingCdma Source # | |
Defined in GI.NM.Objects.SettingCdma | |
GObject SettingCdma Source # | |
Defined in GI.NM.Objects.SettingCdma | |
ManagedPtrNewtype SettingCdma Source # | |
Defined in GI.NM.Objects.SettingCdma Methods | |
TypedObject SettingCdma Source # | |
Defined in GI.NM.Objects.SettingCdma | |
HasParentTypes SettingCdma Source # | |
Defined in GI.NM.Objects.SettingCdma | |
IsGValue (Maybe SettingCdma) Source # | Convert |
Defined in GI.NM.Objects.SettingCdma Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingCdma -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingCdma) # | |
type ParentTypes SettingCdma Source # | |
Defined in GI.NM.Objects.SettingCdma |
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
(GObject o, IsDescendantOf SettingCdma o) => IsSettingCdma o Source # | |
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
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, compare, diff, duplicate, enumerateValues, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, optionClearByName, optionGet, optionGetAllNames, optionGetBoolean, optionGetUint32, optionSet, optionSetBoolean, optionSetUint32, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toString, unref, verify, verifySecrets, watchClosure.
Getters
getData, getDbusPropertyType, getMtu, getName, getNumber, getPassword, getPasswordFlags, getProperty, getQdata, getSecretFlags, getUsername.
Setters
getMtu
Arguments
:: (HasCallStack, MonadIO m, IsSettingCdma a) | |
=> a |
|
-> m Word32 | Returns: the SettingCdma:mtu property of the setting |
No description available in the introspection data.
Since: 1.8
getNumber
Arguments
:: (HasCallStack, MonadIO m, IsSettingCdma a) | |
=> a |
|
-> 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 |
|
-> 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 |
|
-> m [SettingSecretFlags] | Returns: the |
No description available in the introspection data.
getUsername
settingCdmaGetUsername Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingCdma a) | |
=> a |
|
-> m Text | Returns: the SettingCdma:username property of the setting |
No description available in the introspection data.
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingCdma | Returns: the new empty |
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 ]