save Options
abstract suspend fun saveOptions(context: Context, options: STWProcessOptions): ApiResult<Nothing>
Content copied to clipboard
Saves the given ProcessOptions locally. PS: This operation is allowed only at process initialization step (version =0)
Return
ApiResultApiResult.Success if operation done successfully, ApiResult.Error<MyBusinessError> otherwise
Parameters
context
Context The application context.
options
STWProcessOptions the process options to save.