Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class KnownSymbol iface => HasInterface obj iface where
- getInterface :: obj -> Proxy iface -> Interface
- withInterface :: HasInterface obj iface => obj -> Proxy iface -> Object
- type ChangedProperties = TypeStruct `[DBusSimpleType TypeString, AnyDBusDict, TypeArray (DBusSimpleType TypeString)]`
- defPropIFace :: forall a. (Representable a, RepType a ~ AnyDBusDict) => Maybe ObjectPath -> Text -> a -> Interface
- acceptingOptions :: MethodHandlerT IO ByteString -> CharacteristicOptions -> MethodHandlerT IO ByteString
- handlerToMethodHandler :: Handler errs a -> MethodHandlerT IO a
- valProp :: WithObjectPath CharacteristicBS -> Property (RepType ByteString)
Documentation
class KnownSymbol iface => HasInterface obj iface where Source
getInterface :: obj -> Proxy iface -> Interface Source
withInterface :: HasInterface obj iface => obj -> Proxy iface -> Object Source
ObjectManager
Properties
type ChangedProperties = TypeStruct `[DBusSimpleType TypeString, AnyDBusDict, TypeArray (DBusSimpleType TypeString)]` Source
The org.freedesktop.DBus.Properties
interface.
See the <https://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-properties relevant section of the DBus spec> for more information.
defPropIFace :: forall a. (Representable a, RepType a ~ AnyDBusDict) => Maybe ObjectPath -> Text -> a -> Interface Source
GattService
GattCharacteristic
acceptingOptions :: MethodHandlerT IO ByteString -> CharacteristicOptions -> MethodHandlerT IO ByteString Source
handlerToMethodHandler :: Handler errs a -> MethodHandlerT IO a Source