Where native bindings register the players and capture devices they implement.
Typed rather than routed through DVNativeBridge, because a player is an
object with a stream of events, not a call that returns a value. Nothing
is registered by default: a target whose bindings registered nothing plays
nothing, and says so on the controller's error signal.
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
-
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
Static Properties
- capture → DVMediaCapture
-
The capture runtime
DV.Platform.Mediarecords through.no setter - environment ↔ DVMediaEnvironment Function()
-
What every controller a box makes is wired to. Replaceable, for tests
and for a generated runtime that declares DRM adapters or background
audio.
getter/setter pair
- hasPlayer → bool
-
no setter
Static Methods
-
createPlayer(
DVMediaSource source, DVMediaKind kind) → DVMediaPlayerBackend? -
A player for
source, or null when this target has none bound. -
registerCapture(
{required DVCaptureCapabilities capabilities, required DVCaptureBackend backend(), required String directory, DVCapturePermissions permissions = const _DVPlatformCapturePermissions()}) → void -
Binds capture.
directoryis where recordings go; it is made private to this account and must not be shared with anything else. -
registerPlayer(
DVMediaPlayerFactory factory) → void -
reset(
) → void - Unbinds everything. For tests.
-
unregisterPlayer(
) → void