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.DeviceBt
Description
No description available in the introspection data.
Synopsis
- newtype DeviceBt = DeviceBt (ManagedPtr DeviceBt)
- class (GObject o, IsDescendantOf DeviceBt o) => IsDeviceBt o
- toDeviceBt :: (MonadIO m, IsDeviceBt o) => o -> m DeviceBt
- deviceBtGetCapabilities :: (HasCallStack, MonadIO m, IsDeviceBt a) => a -> m [BluetoothCapabilities]
- deviceBtGetName :: (HasCallStack, MonadIO m, IsDeviceBt a) => a -> m Text
- getDeviceBtBtCapabilities :: (MonadIO m, IsDeviceBt o) => o -> m [BluetoothCapabilities]
- getDeviceBtName :: (MonadIO m, IsDeviceBt o) => o -> m Text
Exported types
Memory-managed wrapper type.
Constructors
DeviceBt (ManagedPtr DeviceBt) |
Instances
Eq DeviceBt Source # | |
GObject DeviceBt Source # | |
Defined in GI.NM.Objects.DeviceBt | |
ManagedPtrNewtype DeviceBt Source # | |
Defined in GI.NM.Objects.DeviceBt Methods toManagedPtr :: DeviceBt -> ManagedPtr DeviceBt # | |
TypedObject DeviceBt Source # | |
Defined in GI.NM.Objects.DeviceBt | |
HasParentTypes DeviceBt Source # | |
Defined in GI.NM.Objects.DeviceBt | |
IsGValue (Maybe DeviceBt) Source # | Convert |
Defined in GI.NM.Objects.DeviceBt | |
type ParentTypes DeviceBt Source # | |
Defined in GI.NM.Objects.DeviceBt |
class (GObject o, IsDescendantOf DeviceBt o) => IsDeviceBt o Source #
Type class for types which can be safely cast to DeviceBt
, for instance with toDeviceBt
.
Instances
(GObject o, IsDescendantOf DeviceBt o) => IsDeviceBt o Source # | |
Defined in GI.NM.Objects.DeviceBt |
toDeviceBt :: (MonadIO m, IsDeviceBt o) => o -> m DeviceBt Source #
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, getAppliedConnection, getAppliedConnectionAsync, getAppliedConnectionFinish, getAutoconnect, getAvailableConnections, getCapabilities, getClient, getConnectivity, getData, getDescription, getDeviceType, getDhcp4Config, getDhcp6Config, getDriver, getDriverVersion, getFirmwareMissing, getFirmwareVersion, getHwAddress, getIface, getInterfaceFlags, getIp4Config, getIp6Config, getIpIface, getLldpNeighbors, getManaged, getMetered, getMtu, getName, getNmPluginMissing, getPath, getPhysicalPortId, getPorts, getProduct, getProperty, getQdata, getSettingType, getState, getStateReason, getTypeDescription, getUdi, getVendor.
Setters
setAutoconnect, setData, setDataFull, setManaged, setProperty.
getCapabilities
deviceBtGetCapabilities Source #
Arguments
:: (HasCallStack, MonadIO m, IsDeviceBt a) | |
=> a |
|
-> m [BluetoothCapabilities] | Returns: a combination of |
Returns the Bluetooth device's usable capabilities.
getName
Arguments
:: (HasCallStack, MonadIO m, IsDeviceBt a) | |
=> a |
|
-> m Text | Returns: the name of the device |
Gets the name of the DeviceBt
.
Properties
btCapabilities
The device's bluetooth capabilities, a combination of BluetoothCapabilities
.
getDeviceBtBtCapabilities :: (MonadIO m, IsDeviceBt o) => o -> m [BluetoothCapabilities] Source #
Get the value of the “bt-capabilities
” property.
When overloading is enabled, this is equivalent to
get
deviceBt #btCapabilities
name
The name of the bluetooth device.
getDeviceBtName :: (MonadIO m, IsDeviceBt o) => o -> m Text Source #
Get the value of the “name
” property.
When overloading is enabled, this is equivalent to
get
deviceBt #name