asrp_start()

Request prompt service from registered prompt service providers.

Synopsis:

#include <asr/asrp.h>
 
asrp_processing_flags_t asrp_start(asrp_prompt_info_t *prompt_info)

Arguments:

prompt_info

Structure describing the prompt to be played or shown and providing an interactive callback function if required (e.g., for an interactive visual prompt).

Library:

libasr

Description:

The asrp_start() function renders the prompt specified by prompt_info.

Returns:

Flags to indicate which, if any, prompts were rendered. A return value of 0 (ASRP_NO_PROMPTS) indicates that no prompts were rendered.