Function GenieDialog_create¶
Defined in File GenieDialog.h
Function Documentation¶
-
Genie_Status_t GenieDialog_create(const GenieDialogConfig_Handle_t configHandle, GenieDialog_Handle_t *dialogHandle)¶
A function to create a dialog. The dialog can be configured using a builder pattern.
- Parameters
configHandle – [in] A handle to a valid config. Must not be NULL.
dialogHandle – [out] A handle to the created dialog. Must not be NULL.
- Returns
Status code:
GENIE_STATUS_SUCCESS: API call was successful.
GENIE_STATUS_ERROR_INVALID_HANDLE: Config handle is invalid.
GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.
GENIE_STATUS_ERROR_MEM_ALLOC: Memory allocation failure.