Function GenieDialog_setOemKey

Function Documentation

Genie_Status_t GenieDialog_setOemKey(const GenieDialog_Handle_t dialogHandle, const char *oemKey)

A function to provide an OEM key to the QNN backend.

Parameters
  • dialogHandle[in] A dialog handle.

  • oemKey[in] OEM key to be provided to the QNN backend.

Returns

Status code:

  • GENIE_STATUS_SUCCESS: API call was successful.

  • GENIE_STATUS_ERROR_INVALID_HANDLE: Dialog handle is invalid.

  • GENIE_STATUS_ERROR_INVALID_ARGUMENT: At least one argument is invalid.

  • GENIE_STATUS_ERROR_GENERAL: The OEM key could not be applied.