BmdrmFullscreenController class
- Inheritance
-
- Object
- ChangeNotifier
- BmdrmFullscreenController
Constructors
Properties
- currentVideoQuality → BmdrmVideoQuality
-
The rendition currently pinned, or BmdrmVideoQuality.auto when playback
is left to adaptive bitrate.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- isDrawerOpen → bool
-
no setter
- isFullscreen → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
videoQualities
→ List<
BmdrmVideoQuality> -
Video renditions of the current stream, highest resolution first, as last
reported by native. Empty until the renditions are known (and on iOS
below 15, where the variants API does not exist). Auto is never in here —
it is BmdrmVideoQuality.auto.
no setter
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
closeDrawer(
) → void -
dispose(
) → void -
Discards any resources used by the object.
inherited
-
enterFullscreen(
) → void -
exitFullscreen(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
openDrawer(
) → void -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
seekTo(
Duration position) → Future< void> -
Seeks playback to
position. No-op until the stream has resolved, so a host can wire it straight to a notes list without tracking readiness. -
selectVideoQuality(
int id) → void -
Pins the rendition with
id(an id from videoQualities);-1restores Auto. Not to be confused with the DRM streamquality— see BmdrmVideoQuality. -
toggleDrawer(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited