Function GenieDialog_restore

Function Documentation

Genie_Status_t GenieDialog_restore(const GenieDialog_Handle_t dialogHandle, const char *path)

A function to restore state of a dialog from a file.

Parameters
  • dialogHandle[in] A handle to the created dialog. Must not be NULL.

  • path[in] File Path where dialog state will be restored from.

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.