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

Description

Wi-Fi P2P Settings

Since: 1.16

Synopsis

Exported types

class (GObject o, IsDescendantOf SettingWifiP2P o) => IsSettingWifiP2P o Source #

Type class for types which can be safely cast to SettingWifiP2P, for instance with toSettingWifiP2P.

Instances

Instances details
(GObject o, IsDescendantOf SettingWifiP2P o) => IsSettingWifiP2P o Source # 
Instance details

Defined in GI.NM.Objects.SettingWifiP2P

toSettingWifiP2P :: (MonadIO m, IsSettingWifiP2P o) => o -> m SettingWifiP2P Source #

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

Methods

getPeer

settingWifiP2PGetPeer Source #

Arguments

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

setting: the SettingWifiP2P

-> m Text

Returns: the SettingWifiP2P:peer property of the setting

No description available in the introspection data.

Since: 1.16

getWfdIes

settingWifiP2PGetWfdIes Source #

Arguments

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

setting: the NMSettingWiFiP2P

-> m Bytes

Returns: the NMSettingWiFiP2P:wfd-ies property of the setting

No description available in the introspection data.

Since: 1.16

getWpsMethod

settingWifiP2PGetWpsMethod Source #

Arguments

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

setting: the SettingWifiP2P

-> m [SettingWirelessSecurityWpsMethod]

Returns: the SettingWifiP2P:wpsMethod property of the setting

No description available in the introspection data.

Since: 1.16

new

settingWifiP2PNew Source #

Arguments

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

Returns: the new empty SettingWifiP2P object

Creates a new SettingWifiP2P object with default values.

Since: 1.16

Properties

peer

The P2P device that should be connected to. Currently, this is the only way to create or join a group.

Since: 1.16

clearSettingWifiP2PPeer :: (MonadIO m, IsSettingWifiP2P o) => o -> m () Source #

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

clear #peer

constructSettingWifiP2PPeer :: (IsSettingWifiP2P o, MonadIO m) => Text -> m (GValueConstruct o) Source #

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

getSettingWifiP2PPeer :: (MonadIO m, IsSettingWifiP2P o) => o -> m Text Source #

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

get settingWifiP2P #peer

setSettingWifiP2PPeer :: (MonadIO m, IsSettingWifiP2P o) => o -> Text -> m () Source #

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

set settingWifiP2P [ #peer := value ]

wfdIes

The Wi-Fi Display (WFD) Information Elements (IEs) to set.

Wi-Fi Display requires a protocol specific information element to be set in certain Wi-Fi frames. These can be specified here for the purpose of establishing a connection. This setting is only useful when implementing a Wi-Fi Display client.

Since: 1.16

clearSettingWifiP2PWfdIes :: (MonadIO m, IsSettingWifiP2P o) => o -> m () Source #

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

clear #wfdIes

constructSettingWifiP2PWfdIes :: (IsSettingWifiP2P o, MonadIO m) => Bytes -> m (GValueConstruct o) Source #

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

getSettingWifiP2PWfdIes :: (MonadIO m, IsSettingWifiP2P o) => o -> m Bytes Source #

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

get settingWifiP2P #wfdIes

setSettingWifiP2PWfdIes :: (MonadIO m, IsSettingWifiP2P o) => o -> Bytes -> m () Source #

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

set settingWifiP2P [ #wfdIes := value ]

wpsMethod

Flags indicating which mode of WPS is to be used.

There's little point in changing the default setting as NetworkManager will automatically determine the best method to use.

Since: 1.16

constructSettingWifiP2PWpsMethod :: (IsSettingWifiP2P o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getSettingWifiP2PWpsMethod :: (MonadIO m, IsSettingWifiP2P o) => o -> m Word32 Source #

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

get settingWifiP2P #wpsMethod

setSettingWifiP2PWpsMethod :: (MonadIO m, IsSettingWifiP2P o) => o -> Word32 -> m () Source #

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

set settingWifiP2P [ #wpsMethod := value ]