Floating class

Manages app picture in picture mode.

PiP mode in is available only in Android. Support for other platforms is not planned.

Constructors

Floating({Duration probeInterval = const Duration(milliseconds: 10)})

Properties

hashCode int
The hash code for this object.
no setterinherited
isPipAvailable Future<bool>
Confirms or denies PiP availability.
no setter
pipStatus Future<PiPStatus>
Checks current app PiP status.
no setter
pipStatus$ Stream<PiPStatus>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
enable({Rational aspectRatio = const Rational.landscape(), Rectangle<int>? sourceRectHint}) Future<PiPStatus>
Turns on PiP mode.
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