Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
io.flutter.plugin.mouse.MouseCursorPlugin.MouseCursorViewDelegate Interface Reference

Public Member Functions

PointerIcon getSystemPointerIcon (int type)
 
void setPointerIcon (@NonNull PointerIcon icon)
 

Detailed Description

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.

Member Function Documentation

◆ getSystemPointerIcon()

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.

◆ setPointerIcon()

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.


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