MediaTrack class abstract

Abstraction of a handle to an object allocated on the Rust side.

Implementers

Constructors

MediaTrack.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

free() Future<void>
Drops the associated Rust struct and nulls the local Pointer to it.
inherited
getTrack() → MediaStreamTrack
Returns the underlying MediaStreamTrack of this LocalMediaTrack.
kind() MediaKind
Returns the MediaKind.Audio if this LocalMediaTrack represents an audio track, or the MediaKind.Video if it represents a video track.
mediaSourceKind() MediaSourceKind
Returns the MediaSourceKind.Device if this LocalMediaTrack is sourced from some device (webcam/microphone), or the MediaSourceKind.Display if it's captured via MediaDevices.getDisplayMedia().
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