Function GenieAccuracy_createFromDialog

Function Documentation

Genie_Status_t GenieAccuracy_createFromDialog(const GenieAccuracyConfig_Handle_t configHandle, const GenieDialog_Handle_t dialogHandle, GenieAccuracy_Handle_t *accuracyHandle)

A function to create an accuracy handle from an existing dialog.

Parameters
  • configHandle[in] A handle to a valid config. Must not be NULL.

  • dialogHandle[in] A reference to the dialog handle which will be bound to the created accuracy handle. Must not be NULL.

  • accuracyHandle[out] A reference to the created accuracy handle. Must not be NULL.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: one of the handles provided in the arguments is invalid.

  • GENIE_STATUS_ERROR_MEM_ALLOC: Memory allocation failure.