setRecorderConfiguration method
- RecorderConfiguration config
Updates the recorder settings.
If it is started, first stops the recorder, updates its settings and restarts it.
Parameters
- IN config The recorder configuration
Returns
- GemError.success Successfully updated the configuration.
- GemError.busy Could not update the configuration because the recorder was active.
- GemError.general A general error occurred during configuration update.
Throws
- An exception if it fails
Implementation
GemError setRecorderConfiguration(final RecorderConfiguration config) {
final OperationResult resultString = objectMethod(
_pointerId,
'Recorder',
'setConfiguration',
args: config,
);
return GemErrorExtension.fromCode(resultString['result']);
}