Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
io.flutter.embedding.engine.systemchannels.MouseCursorChannel Class Reference

Classes

interface  MouseCursorMethodHandler
 

Public Member Functions

 MouseCursorChannel (@NonNull DartExecutor dartExecutor)
 
void setMethodHandler (@Nullable MouseCursorMethodHandler mouseCursorMethodHandler)
 
void synthesizeMethodCall (@NonNull MethodCall call, @NonNull MethodChannel.Result result)
 

Public Attributes

final MethodChannel channel
 

Detailed Description

System channel that receives requests for mouse cursor behavior, e.g., set as system cursors.

Definition at line 18 of file MouseCursorChannel.java.

Constructor & Destructor Documentation

◆ MouseCursorChannel()

io.flutter.embedding.engine.systemchannels.MouseCursorChannel.MouseCursorChannel ( @NonNull DartExecutor  dartExecutor)
inline

Definition at line 24 of file MouseCursorChannel.java.

24 {
25 channel = new MethodChannel(dartExecutor, "flutter/mousecursor", StandardMethodCodec.INSTANCE);
26 channel.setMethodCallHandler(parsingMethodCallHandler);
27 }

Member Function Documentation

◆ setMethodHandler()

void io.flutter.embedding.engine.systemchannels.MouseCursorChannel.setMethodHandler ( @Nullable MouseCursorMethodHandler  mouseCursorMethodHandler)
inline

Sets the MouseCursorMethodHandler which receives all events and requests that are parsed from the underlying platform channel.

Definition at line 33 of file MouseCursorChannel.java.

33 {
34 this.mouseCursorMethodHandler = mouseCursorMethodHandler;
35 }

◆ synthesizeMethodCall()

void io.flutter.embedding.engine.systemchannels.MouseCursorChannel.synthesizeMethodCall ( @NonNull MethodCall  call,
@NonNull MethodChannel.Result  result 
)
inline

Definition at line 74 of file MouseCursorChannel.java.

74 {
75 parsingMethodCallHandler.onMethodCall(call, result);
76 }
GAsyncResult * result

Member Data Documentation

◆ channel

final MethodChannel io.flutter.embedding.engine.systemchannels.MouseCursorChannel.channel

Definition at line 21 of file MouseCursorChannel.java.


The documentation for this class was generated from the following file: