RecorderConfiguration class Sensor Data Source
Structure describing recorder configuration properties.
Constructors
-
RecorderConfiguration({required DataSource dataSource, String logsDir = '', Map<
HardwareSpecification, String> ? hardwareSpecifications, List<DataType> recordedTypes = const <DataType>[], int minDurationSeconds = 30, Resolution videoQuality = Resolution.unknown, int chunkDurationSeconds = 0, bool continuousRecording = true, bool enableAudio = false, int maxDiskSpaceUsed = 0, int keepMinSeconds = 0, bool deleteOlderThanKeepMin = false, RecordingTransportMode transportMode = RecordingTransportMode.unknown}) -
Creates a RecorderConfiguration with the specified properties.
factory
- RecorderConfiguration.init(int id)
Properties
- chunkDurationSeconds ↔ int
-
Gets the chunk duration time in seconds
getter/setter pair
- continuousRecording ↔ bool
-
Gets the boolean value that indicates whether recording should continue automatically after reaching the chunk duration.
getter/setter pair
- dataSource ↔ DataSource
-
Gets the data source used for recording.
getter/setter pair
- deleteOlderThanKeepMin ↔ bool
-
Gets the flag that indicates whether to delete older logs exceeding the keepMinSeconds threshold.
getter/setter pair
- enableAudio ↔ bool
-
Gets the flag indicating whether audio should be recorded.
getter/setter pair
-
hardwareSpecifications
↔ Map<
HardwareSpecification, String> -
Gets the device hardware specifications
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- keepMinSeconds ↔ int
-
Gets the minimum seconds of recordings to retain on disk.
getter/setter pair
- logsDir ↔ String
-
Gets the directory used to keep the logs.
getter/setter pair
- maxDiskSpaceUsed ↔ int
-
Gets the maximum disk space that recordings can occupy.
getter/setter pair
- minDurationSeconds ↔ int
-
Gets the minimum recording duration for it to be saved.
getter/setter pair
- pointerId → int
-
no setterinherited
-
recordedTypes
↔ List<
DataType> -
Gets the types that are recorded.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transportMode ↔ RecordingTransportMode
-
Gets the transport mode used at the time the log was recorded.
getter/setter pair
- videoQuality ↔ Resolution
-
Gets the video quality of the recording.
getter/setter pair
Methods
-
dispose(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited