19 #ifndef _ASTERISK_STASIS_APP_DEVICE_STATE_H 20 #define _ASTERISK_STASIS_APP_DEVICE_STATE_H ast_device_state
Device States.
enum stasis_device_state_result stasis_app_device_state_delete(const char *name)
Delete a device controlled by ARI.
stasis_device_state_result
enum stasis_device_state_result stasis_app_device_state_update(const char *name, const char *value)
Changes the state of a device controlled by ARI.
struct ast_json * stasis_app_device_states_to_json(void)
Convert device states to json array.
Abstract JSON element (object, array, string, int, ...).
Stasis Application API. See Stasis Application API for detailed documentation.
struct ast_json * stasis_app_device_state_to_json(const char *name, enum ast_device_state state)
Convert device state to json.
Application convenience functions, designed to give consistent look and feel to Asterisk apps...