dataSource property
The data source used for recording.
The DataSource that supplies sensor and location input used by the recorder.
Implementation
DataSource get dataSource {
final OperationResult resultString = objectMethod(
pointerId,
'RecorderConfiguration',
'getDataSource',
);
return DataSource.init(resultString['result']);
}
Set the data source used for recording.
Provide a DataSource that will supply sensor and location input for recordings.
Implementation
set dataSource(final DataSource dataSource) {
objectMethod(
pointerId,
'RecorderConfiguration',
'setDataSource',
args: dataSource.pointerId,
);
}