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.DeviceModem
Description
No description available in the introspection data.
Synopsis
- newtype DeviceModem = DeviceModem (ManagedPtr DeviceModem)
- class (GObject o, IsDescendantOf DeviceModem o) => IsDeviceModem o
- toDeviceModem :: (MonadIO m, IsDeviceModem o) => o -> m DeviceModem
- deviceModemGetApn :: (HasCallStack, MonadIO m, IsDeviceModem a) => a -> m Text
- deviceModemGetCurrentCapabilities :: (HasCallStack, MonadIO m, IsDeviceModem a) => a -> m [DeviceModemCapabilities]
- deviceModemGetDeviceId :: (HasCallStack, MonadIO m, IsDeviceModem a) => a -> m Text
- deviceModemGetModemCapabilities :: (HasCallStack, MonadIO m, IsDeviceModem a) => a -> m [DeviceModemCapabilities]
- deviceModemGetOperatorCode :: (HasCallStack, MonadIO m, IsDeviceModem a) => a -> m Text
- getDeviceModemApn :: (MonadIO m, IsDeviceModem o) => o -> m Text
- getDeviceModemCurrentCapabilities :: (MonadIO m, IsDeviceModem o) => o -> m [DeviceModemCapabilities]
- getDeviceModemDeviceId :: (MonadIO m, IsDeviceModem o) => o -> m Text
- getDeviceModemModemCapabilities :: (MonadIO m, IsDeviceModem o) => o -> m [DeviceModemCapabilities]
- getDeviceModemOperatorCode :: (MonadIO m, IsDeviceModem o) => o -> m Text
Exported types
newtype DeviceModem Source #
Memory-managed wrapper type.
Constructors
DeviceModem (ManagedPtr DeviceModem) |
Instances
Eq DeviceModem Source # | |
Defined in GI.NM.Objects.DeviceModem | |
GObject DeviceModem Source # | |
Defined in GI.NM.Objects.DeviceModem | |
ManagedPtrNewtype DeviceModem Source # | |
Defined in GI.NM.Objects.DeviceModem Methods | |
TypedObject DeviceModem Source # | |
Defined in GI.NM.Objects.DeviceModem | |
HasParentTypes DeviceModem Source # | |
Defined in GI.NM.Objects.DeviceModem | |
IsGValue (Maybe DeviceModem) Source # | Convert |
Defined in GI.NM.Objects.DeviceModem Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DeviceModem -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DeviceModem) # | |
type ParentTypes DeviceModem Source # | |
Defined in GI.NM.Objects.DeviceModem |
class (GObject o, IsDescendantOf DeviceModem o) => IsDeviceModem o Source #
Type class for types which can be safely cast to DeviceModem
, for instance with toDeviceModem
.
Instances
(GObject o, IsDescendantOf DeviceModem o) => IsDeviceModem o Source # | |
Defined in GI.NM.Objects.DeviceModem |
toDeviceModem :: (MonadIO m, IsDeviceModem o) => o -> m DeviceModem Source #
Cast to DeviceModem
, 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, connectionCompatible, connectionValid, delete, deleteAsync, deleteFinish, disconnect, disconnectAsync, disconnectFinish, filterConnections, forceFloating, freezeNotify, getv, isFloating, isReal, isSoftware, notify, notifyByPspec, reapply, reapplyAsync, reapplyFinish, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getActiveConnection, getApn, getAppliedConnection, getAppliedConnectionAsync, getAppliedConnectionFinish, getAutoconnect, getAvailableConnections, getCapabilities, getClient, getConnectivity, getCurrentCapabilities, getData, getDescription, getDeviceId, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIface, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getModemCapabilities, getMtu, getNmPluginMissing, getOperatorCode, getPath, getPhysicalPortId, getPorts, getProduct, getProperty, getQdata, getSettingType, getState, getStateReason, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getApn
Arguments
:: (HasCallStack, MonadIO m, IsDeviceModem a) | |
=> a |
|
-> m Text | Returns: the APN name or |
The access point name the modem is connected to.
Since: 1.20
getCurrentCapabilities
deviceModemGetCurrentCapabilities Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceModem a) | |
=> a |
|
-> m [DeviceModemCapabilities] | Returns: the generic access technology families the modem supports without a firmware reload or other reinitialization |
Returns a bitfield of the generic access technology families the modem supports without a firmware reload or reinitialization. This value represents the network types the modem can immediately connect to.
getDeviceId
deviceModemGetDeviceId Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceModem a) | |
=> a |
|
-> m Text | Returns: a device-id string |
An identifier used by the modem backend (ModemManager) that aims to uniquely identify the a device. Can be used to match a connection to a particular device.
Since: 1.20
getModemCapabilities
deviceModemGetModemCapabilities Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceModem a) | |
=> a |
|
-> m [DeviceModemCapabilities] | Returns: the generic access technology families the modem supports |
Returns a bitfield of the generic access technology families the modem supports. Not all capabilities are available concurrently however; some may require a firmware reload or reinitialization.
getOperatorCode
deviceModemGetOperatorCode Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceModem a) | |
=> a |
|
-> m Text | Returns: the operator code or |
The MCC and MNC (concatenated) of the network the modem is connected to.
Since: 1.20
Properties
apn
No description available in the introspection data.
Since: 1.20
getDeviceModemApn :: (MonadIO m, IsDeviceModem o) => o -> m Text Source #
Get the value of the “apn
” property.
When overloading is enabled, this is equivalent to
get
deviceModem #apn
currentCapabilities
The generic family of access technologies the modem currently supports without a firmware reload or reinitialization.
getDeviceModemCurrentCapabilities :: (MonadIO m, IsDeviceModem o) => o -> m [DeviceModemCapabilities] Source #
Get the value of the “current-capabilities
” property.
When overloading is enabled, this is equivalent to
get
deviceModem #currentCapabilities
deviceId
No description available in the introspection data.
Since: 1.20
getDeviceModemDeviceId :: (MonadIO m, IsDeviceModem o) => o -> m Text Source #
Get the value of the “device-id
” property.
When overloading is enabled, this is equivalent to
get
deviceModem #deviceId
modemCapabilities
The generic family of access technologies the modem supports. Not all capabilities are available at the same time however; some modems require a firmware reload or other reinitialization to switch between eg CDMA/EVDO and GSM/UMTS.
getDeviceModemModemCapabilities :: (MonadIO m, IsDeviceModem o) => o -> m [DeviceModemCapabilities] Source #
Get the value of the “modem-capabilities
” property.
When overloading is enabled, this is equivalent to
get
deviceModem #modemCapabilities
operatorCode
No description available in the introspection data.
Since: 1.20
getDeviceModemOperatorCode :: (MonadIO m, IsDeviceModem o) => o -> m Text Source #
Get the value of the “operator-code
” property.
When overloading is enabled, this is equivalent to
get
deviceModem #operatorCode