MediaTrack class abstract
Abstraction of a handle to an object allocated on the Rust side.
- Implementers
Constructors
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 theMediaKind.Video
if it represents a video track. -
mediaSourceKind(
) → MediaSourceKind -
Returns the
MediaSourceKind.Device
if this LocalMediaTrack is sourced from some device (webcam/microphone), or theMediaSourceKind.Display
if it's captured viaMediaDevices.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