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

Description

WiMax Settings

Synopsis

Exported types

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

Instances details
(GObject o, IsDescendantOf SettingWimax o) => IsSettingWimax o Source # 
Instance details

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

getMacAddress

settingWimaxGetMacAddress Source #

Arguments

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

setting: the SettingWimax

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

setting: the SettingWimax

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

settingWimaxNew Source #

Arguments

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

Returns: the new empty SettingWimax object

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 ]