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.SettingWimax
Description
WiMax Settings
Synopsis
- newtype SettingWimax = SettingWimax (ManagedPtr SettingWimax)
- class (GObject o, IsDescendantOf SettingWimax o) => IsSettingWimax o
- toSettingWimax :: (MonadIO m, IsSettingWimax o) => o -> m SettingWimax
- settingWimaxGetMacAddress :: (HasCallStack, MonadIO m, IsSettingWimax a) => a -> m Text
- settingWimaxGetNetworkName :: (HasCallStack, MonadIO m, IsSettingWimax a) => a -> m Text
- settingWimaxNew :: (HasCallStack, MonadIO m) => m SettingWimax
- clearSettingWimaxMacAddress :: (MonadIO m, IsSettingWimax o) => o -> m ()
- constructSettingWimaxMacAddress :: (IsSettingWimax o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWimaxMacAddress :: (MonadIO m, IsSettingWimax o) => o -> m Text
- setSettingWimaxMacAddress :: (MonadIO m, IsSettingWimax o) => o -> Text -> m ()
- clearSettingWimaxNetworkName :: (MonadIO m, IsSettingWimax o) => o -> m ()
- constructSettingWimaxNetworkName :: (IsSettingWimax o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWimaxNetworkName :: (MonadIO m, IsSettingWimax o) => o -> m Text
- setSettingWimaxNetworkName :: (MonadIO m, IsSettingWimax o) => o -> Text -> m ()
Exported types
newtype SettingWimax Source #
Memory-managed wrapper type.
Constructors
SettingWimax (ManagedPtr SettingWimax) |
Instances
Eq SettingWimax Source # | |
Defined in GI.NM.Objects.SettingWimax | |
GObject SettingWimax Source # | |
Defined in GI.NM.Objects.SettingWimax | |
ManagedPtrNewtype SettingWimax Source # | |
Defined in GI.NM.Objects.SettingWimax Methods | |
TypedObject SettingWimax Source # | |
Defined in GI.NM.Objects.SettingWimax | |
HasParentTypes SettingWimax Source # | |
Defined in GI.NM.Objects.SettingWimax | |
IsGValue (Maybe SettingWimax) Source # | Convert |
Defined in GI.NM.Objects.SettingWimax Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingWimax -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingWimax) # | |
type ParentTypes SettingWimax Source # | |
Defined in GI.NM.Objects.SettingWimax |
class (GObject o, IsDescendantOf SettingWimax o) => IsSettingWimax o Source #
Type class for types which can be safely cast to SettingWimax
, for instance with toSettingWimax
.
Instances
(GObject o, IsDescendantOf SettingWimax o) => IsSettingWimax o Source # | |
Defined in GI.NM.Objects.SettingWimax |
toSettingWimax :: (MonadIO m, IsSettingWimax o) => o -> m SettingWimax Source #
Cast to SettingWimax
, 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, getMacAddress, getName, getNetworkName, getProperty, getQdata, getSecretFlags.
Setters
getMacAddress
settingWimaxGetMacAddress Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingWimax a) | |
=> a |
|
-> m Text | Returns: the MAC address |
Deprecated: (Since version 1.2)WiMAX is no longer supported.
Returns the MAC address of a WiMAX device which this connection is locked to.
getNetworkName
settingWimaxGetNetworkName Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingWimax a) | |
=> a |
|
-> m Text | Returns: the WiMAX NSP name |
Deprecated: (Since version 1.2)WiMAX is no longer supported.
Returns the WiMAX NSP name (ex "Sprint" or "CLEAR") which identifies the specific WiMAX network this setting describes a connection to.
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingWimax | Returns: the new empty |
Deprecated: (Since version 1.2)WiMAX is no longer supported.
Creates a new SettingWimax
object with default values.
Properties
macAddress
If specified, this connection will only apply to the WiMAX device whose MAC address matches. This property does not change the MAC address of the device (known as MAC spoofing).
clearSettingWimaxMacAddress :: (MonadIO m, IsSettingWimax o) => o -> m () Source #
Set the value of the “mac-address
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#macAddress
constructSettingWimaxMacAddress :: (IsSettingWimax o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “mac-address
” property. This is rarely needed directly, but it is used by new
.
getSettingWimaxMacAddress :: (MonadIO m, IsSettingWimax o) => o -> m Text Source #
Get the value of the “mac-address
” property.
When overloading is enabled, this is equivalent to
get
settingWimax #macAddress
setSettingWimaxMacAddress :: (MonadIO m, IsSettingWimax o) => o -> Text -> m () Source #
Set the value of the “mac-address
” property.
When overloading is enabled, this is equivalent to
set
settingWimax [ #macAddress:=
value ]
networkName
Network Service Provider (NSP) name of the WiMAX network this connection should use.
clearSettingWimaxNetworkName :: (MonadIO m, IsSettingWimax o) => o -> m () Source #
Set the value of the “network-name
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#networkName
constructSettingWimaxNetworkName :: (IsSettingWimax o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “network-name
” property. This is rarely needed directly, but it is used by new
.
getSettingWimaxNetworkName :: (MonadIO m, IsSettingWimax o) => o -> m Text Source #
Get the value of the “network-name
” property.
When overloading is enabled, this is equivalent to
get
settingWimax #networkName
setSettingWimaxNetworkName :: (MonadIO m, IsSettingWimax o) => o -> Text -> m () Source #
Set the value of the “network-name
” property.
When overloading is enabled, this is equivalent to
set
settingWimax [ #networkName:=
value ]