Creates a sensor-side endpoint. Notify affinity defaults to the thread-default GMainContext at construction.
Stable identifier used in rules and on the wire (unique within the service).
Human-readable text for UIs and operators.
Quantity kind (see STUnit Enumeration).
Inclusive lower bound for val.
Inclusive upper bound for val.
Resolution grid; off-step sets snap to this step.
Initial reading.
Policy bits (see api-io-flags).
Optional GError out-parameter on failure.
Returns: A new floating STInput, or NULL with error set when metadata cannot be honored.
Deep-copies an input into a fresh object with independent lifetime.
Source input; must not be NULL.
Returns: Newly allocated STInput (constructor transfer).
Chooses the GMainContext that delivers property notifies. Off-thread setters coalesce notifies via idle.
The input.
Affinity context, or NULL for thread-default / global default.
Returns: Nothing.
Reads the current notify affinity.
The input.
Returns: Borrowed GMainContext (do not free).