Flutter Engine
The Flutter Engine
|
Public Member Functions | |
PointerIcon | getSystemPointerIcon (int type) |
void | setPointerIcon (@NonNull PointerIcon icon) |
Delegate interface for requesting the system to display a pointer icon object.
Typically implemented by an android.view.View
, such as a FlutterView
.
Definition at line 116 of file MouseCursorPlugin.java.
PointerIcon io.flutter.plugin.mouse.MouseCursorPlugin.MouseCursorViewDelegate.getSystemPointerIcon | ( | int | type | ) |
Gets a system pointer icon object for the given type
.
If typeis not recognized, returns the default pointer icon.
This is typically implemented by calling android.view.PointerIcon#getSystemIcon
with the context associated with this view.
void io.flutter.plugin.mouse.MouseCursorPlugin.MouseCursorViewDelegate.setPointerIcon | ( | @NonNull PointerIcon | icon | ) |
Request the pointer to display the specified icon object.
If the delegate is implemented by a android.view.View
, then this method is automatically implemented by View.