MiniScreenContextPlatformInterface class abstract
Abstract screen context for configuring and capturing from a screen or window.
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
-
configureDisplay(
String screenId, MiniAVVideoInfo format, {bool captureAudio = false}) → Future< void> - Configure the screen context with a display and format.
-
configureWindow(
String windowId, MiniAVVideoInfo format, {bool captureAudio = false}) → Future< void> - Configure the screen context with a window and format.
-
destroy(
) → Future< void> - Destroy this screen context and release resources.
-
getConfiguredFormats(
) → Future< ScreenFormatDefaults> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startCapture(
void onFrame(MiniAVBuffer buffer, Object? userData), {Object? userData}) → Future< void> -
Start screen capture.
onFrameis called for each frame received. -
stopCapture(
) → Future< void> - Stop screen capture.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited