Recorder class Sensor Data Source

Recorder class

This class should not be instantiated directly. Instead, use the create method to obtain an instance.

Constructors

Recorder.init(int id)

Properties

currentRecordPath String
Gets the path to the current log file.
no setter
diskSpaceUsedPerSecond int
Gets the disk space used per second, in bytes.
no setter
hashCode int
The hash code for this object.
no setterinherited
pointerId int
no setter
recorderConfiguration RecorderConfiguration
Retrieves the current configuration of the recorder.
no setter
recorderStatus RecorderStatus
Retrieves the current recorder status.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addUserMetadata(String key, Uint8List userMetadata) → void
Saves custom metadata in the log.
dispose() → void
isAudioRecording() bool
Checks if audio recording is in progress.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseRecording() GemError
Pauses the recording.
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
resumeRecording() GemError
Resumes the recording.
setActivityRecord(ActivityRecord activityRecord) → void
Sets the details of the recorded activity.
setRecorderConfiguration(RecorderConfiguration config) GemError
Updates the recorder settings.
startAudioRecording() → void
Starts audio recording.
startRecording() Future<GemError>
Starts the recording.
stopAudioRecording() → void
Stops audio recording.
stopRecording() Future<GemError>
Stops the recording.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create(RecorderConfiguration config) Recorder
Creates a new instance of the Recorder.