Next: Starting a Client, Up: STClient: Consuming a Service [Contents]
ST_CLIENT_STATE_IDLENot started / stopped.
ST_CLIENT_STATE_PENDINGConnect / snapshot / subscribe in progress.
ST_CLIENT_STATE_READYHandshake complete; mirrors usable.
ST_CLIENT_STATE_FAILEDConnection or handshake failed.
Reads the lifecycle state.
Client.
Returns: Current STClientState.
Convenience for state == ST_CLIENT_STATE_READY.
Client.
Returns: TRUE if ready.
Reports whether a D-Bus connection is up (may still be pending handshake).
Client.
Returns: TRUE if connected.
Calling start again while PENDING or READY is an
error—create a new client or wait until the lifecycle ends.