Rebus.Interface.Property (rebus v0.4.0)

View Source

A property declared by a Rebus.Interface.

signature is a single complete D-Bus type. emits_changed says how org.freedesktop.DBus.Properties.PropertiesChanged reports a change, as the org.freedesktop.DBus.Property.EmitsChangedSignal annotation does:

  • true - the signal carries the new value
  • :invalidates - the signal names the property without its value
  • false - the property changes without a signal
  • :const - the property never changes while the object exists

Summary

Types

How PropertiesChanged reports a change to a property.

t()

A declared property.

Types

emits_changed()

@type emits_changed() :: true | false | :invalidates | :const

How PropertiesChanged reports a change to a property.

t()

@type t() :: %Rebus.Interface.Property{
  access: Rebus.Interface.access(),
  annotations: [Rebus.Interface.annotation()],
  emits_changed: emits_changed(),
  name: binary(),
  signature: binary()
}

A declared property.