MediaRecorderObserver class

The MediaRecorderObserver class.

Constructors

MediaRecorderObserver({OnRecorderStateChanged? onRecorderStateChanged, OnRecorderInfoUpdated? onRecorderInfoUpdated})
Constructs the MediaRecorderObserver.

Properties

hashCode int
The hash code for this object.
no setterinherited
onRecorderInfoUpdated OnRecorderInfoUpdated?
Occurs when the recording information is updated. After you successfully register this callback and enable the local audio and video recording, the SDK periodically triggers this callback according to the value of recorderInfoUpdateInterval you set in MediaRecorderConfiguration . This callback reports the filename, duration, and size of the current recording file.
getter/setter pair
onRecorderStateChanged OnRecorderStateChanged?
Occurs when the local audio and video recording state changes. When the local audio and video recording state changes, the SDK triggers this callback to report the current recording state and the reason for the change.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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