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

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DeviceBt Source #

Memory-managed wrapper type.

Constructors

DeviceBt (ManagedPtr DeviceBt) 

Instances

Instances details
Eq DeviceBt Source # 
Instance details

Defined in GI.NM.Objects.DeviceBt

GObject DeviceBt Source # 
Instance details

Defined in GI.NM.Objects.DeviceBt

ManagedPtrNewtype DeviceBt Source # 
Instance details

Defined in GI.NM.Objects.DeviceBt

TypedObject DeviceBt Source # 
Instance details

Defined in GI.NM.Objects.DeviceBt

Methods

glibType :: IO GType #

HasParentTypes DeviceBt Source # 
Instance details

Defined in GI.NM.Objects.DeviceBt

IsGValue (Maybe DeviceBt) Source #

Convert DeviceBt to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.NM.Objects.DeviceBt

type ParentTypes DeviceBt Source # 
Instance details

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

Instances details
(GObject o, IsDescendantOf DeviceBt o) => IsDeviceBt o Source # 
Instance details

Defined in GI.NM.Objects.DeviceBt

toDeviceBt :: (MonadIO m, IsDeviceBt o) => o -> m DeviceBt Source #

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

Methods

getCapabilities

deviceBtGetCapabilities Source #

Arguments

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

device: a DeviceBt

-> m [BluetoothCapabilities]

Returns: a combination of BluetoothCapabilities

Returns the Bluetooth device's usable capabilities.

getName

deviceBtGetName Source #

Arguments

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

device: a DeviceBt

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