MethodChannelScrcpyVideoView class
Method-channel implementation of ScrcpyVideoPlatform.
- Inheritance
-
- Object
- PlatformInterface
- ScrcpyVideoPlatform
- MethodChannelScrcpyVideoView
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearSessionCleanup(
) → Future< void> -
Clears native emergency-cleanup state after normal stream shutdown.
override
-
createTexture(
) → Future< int> -
Registers a native texture and returns its Flutter texture identifier.
override
-
decodeFrame(
{required int textureId, required Uint8List data, required int presentationTimeUs, required bool isConfig, required bool isKeyFrame}) → Future< void> -
Sends one encoded H.264 access unit to the native decoder.
override
-
disposeTexture(
int textureId) → Future< void> -
Releases the native texture identified by
textureId.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerSessionCleanup(
{required String adbPath, required String serial, required int forwardPort, int? serverProcessId}) → Future< void> -
Registers enough native state to clean up an active adb tunnel if the
macOS host terminates before Dart cleanup runs.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited