setRecorderConfiguration method

GemError setRecorderConfiguration(
  1. RecorderConfiguration config
)

Apply a new recorder configuration.

If the recorder is currently recording it will be stopped, reconfigured and restarted. Callers should handle the returned result to know whether the update succeeded.

Parameters

Returns

See also:

Implementation

GemError setRecorderConfiguration(final RecorderConfiguration config) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Recorder',
    'setConfiguration',
    args: config.pointerId,
  );
  return GemErrorExtension.fromCode(resultString['result']);
}