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.SettingWifiP2P
Description
Wi-Fi P2P Settings
Since: 1.16
Synopsis
- newtype SettingWifiP2P = SettingWifiP2P (ManagedPtr SettingWifiP2P)
- class (GObject o, IsDescendantOf SettingWifiP2P o) => IsSettingWifiP2P o
- toSettingWifiP2P :: (MonadIO m, IsSettingWifiP2P o) => o -> m SettingWifiP2P
- settingWifiP2PGetPeer :: (HasCallStack, MonadIO m, IsSettingWifiP2P a) => a -> m Text
- settingWifiP2PGetWfdIes :: (HasCallStack, MonadIO m, IsSettingWifiP2P a) => a -> m Bytes
- settingWifiP2PGetWpsMethod :: (HasCallStack, MonadIO m, IsSettingWifiP2P a) => a -> m [SettingWirelessSecurityWpsMethod]
- settingWifiP2PNew :: (HasCallStack, MonadIO m) => m SettingWifiP2P
- clearSettingWifiP2PPeer :: (MonadIO m, IsSettingWifiP2P o) => o -> m ()
- constructSettingWifiP2PPeer :: (IsSettingWifiP2P o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingWifiP2PPeer :: (MonadIO m, IsSettingWifiP2P o) => o -> m Text
- setSettingWifiP2PPeer :: (MonadIO m, IsSettingWifiP2P o) => o -> Text -> m ()
- clearSettingWifiP2PWfdIes :: (MonadIO m, IsSettingWifiP2P o) => o -> m ()
- constructSettingWifiP2PWfdIes :: (IsSettingWifiP2P o, MonadIO m) => Bytes -> m (GValueConstruct o)
- getSettingWifiP2PWfdIes :: (MonadIO m, IsSettingWifiP2P o) => o -> m Bytes
- setSettingWifiP2PWfdIes :: (MonadIO m, IsSettingWifiP2P o) => o -> Bytes -> m ()
- constructSettingWifiP2PWpsMethod :: (IsSettingWifiP2P o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingWifiP2PWpsMethod :: (MonadIO m, IsSettingWifiP2P o) => o -> m Word32
- setSettingWifiP2PWpsMethod :: (MonadIO m, IsSettingWifiP2P o) => o -> Word32 -> m ()
Exported types
newtype SettingWifiP2P Source #
Memory-managed wrapper type.
Constructors
SettingWifiP2P (ManagedPtr SettingWifiP2P) |
Instances
Eq SettingWifiP2P Source # | |
Defined in GI.NM.Objects.SettingWifiP2P Methods (==) :: SettingWifiP2P -> SettingWifiP2P -> Bool # (/=) :: SettingWifiP2P -> SettingWifiP2P -> Bool # | |
GObject SettingWifiP2P Source # | |
Defined in GI.NM.Objects.SettingWifiP2P | |
ManagedPtrNewtype SettingWifiP2P Source # | |
Defined in GI.NM.Objects.SettingWifiP2P Methods toManagedPtr :: SettingWifiP2P -> ManagedPtr SettingWifiP2P # | |
TypedObject SettingWifiP2P Source # | |
Defined in GI.NM.Objects.SettingWifiP2P | |
HasParentTypes SettingWifiP2P Source # | |
Defined in GI.NM.Objects.SettingWifiP2P | |
IsGValue (Maybe SettingWifiP2P) Source # | Convert |
Defined in GI.NM.Objects.SettingWifiP2P Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe SettingWifiP2P -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe SettingWifiP2P) # | |
type ParentTypes SettingWifiP2P Source # | |
Defined in GI.NM.Objects.SettingWifiP2P |
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
(GObject o, IsDescendantOf SettingWifiP2P o) => IsSettingWifiP2P o Source # | |
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
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, getName, getPeer, getProperty, getQdata, getSecretFlags, getWfdIes, getWpsMethod.
Setters
getPeer
settingWifiP2PGetPeer Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingWifiP2P a) | |
=> a |
|
-> 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 |
|
-> m Bytes | Returns: the |
No description available in the introspection data.
Since: 1.16
getWpsMethod
settingWifiP2PGetWpsMethod Source #
Arguments
:: (HasCallStack, MonadIO m, IsSettingWifiP2P a) | |
=> a |
|
-> m [SettingWirelessSecurityWpsMethod] | Returns: the SettingWifiP2P:wpsMethod property of the setting |
No description available in the introspection data.
Since: 1.16
new
Arguments
:: (HasCallStack, MonadIO m) | |
=> m SettingWifiP2P | Returns: the new empty |
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 ]