MethodChannelNoScreenMirror class
Method channel implementation of NoScreenMirrorPlatform.
Communicates with native platform code via a MethodChannel for commands and an EventChannel for streaming mirror state updates.
- Inheritance
-
- Object
- PlatformInterface
- NoScreenMirrorPlatform
- MethodChannelNoScreenMirror
Constructors
Properties
- eventChannel → EventChannel
-
The event channel used to receive native mirror state events.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to invoke native methods.
final
-
mirrorStream
→ Stream<
MirrorSnapshot> -
A broadcast stream of
MirrorSnapshotupdates.no setteroverride - 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
-
startListening(
{Duration pollingInterval = const Duration(seconds: 2), List< String> customScreenSharingProcesses = const []}) → Future<void> -
Starts listening for screen mirror and display state changes.
override
-
stopListening(
) → Future< void> -
Stops listening for screen mirror and display state changes.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited