Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
io.flutter.embedding.android.KeyboardMap.TogglingGoal Class Reference

Public Member Functions

 TogglingGoal (int mask, long physicalKey, long logicalKey)
 

Public Attributes

final int mask
 
final long physicalKey
 
final long logicalKey
 
boolean enabled = false
 

Detailed Description

A configuration item that defines how to synchronize toggling modifiers (such as CapsLock), so that the KeyEmbedderResponder must synthesize events until the enabling state of the key matches the true meta state masked by mask.

The objects of this class are mutable. The enabled field will be used to store the current enabling state.

Definition at line 53 of file KeyboardMap.java.

Constructor & Destructor Documentation

◆ TogglingGoal()

io.flutter.embedding.android.KeyboardMap.TogglingGoal.TogglingGoal ( int  mask,
long  physicalKey,
long  logicalKey 
)
inline

Definition at line 54 of file KeyboardMap.java.

Member Data Documentation

◆ enabled

boolean io.flutter.embedding.android.KeyboardMap.TogglingGoal.enabled = false

Used by KeyEmbedderResponder to store the current enabling state of this modifier.

Initialized as false.

Definition at line 68 of file KeyboardMap.java.

◆ logicalKey

final long io.flutter.embedding.android.KeyboardMap.TogglingGoal.logicalKey

Definition at line 62 of file KeyboardMap.java.

◆ mask

final int io.flutter.embedding.android.KeyboardMap.TogglingGoal.mask

Definition at line 60 of file KeyboardMap.java.

◆ physicalKey

final long io.flutter.embedding.android.KeyboardMap.TogglingGoal.physicalKey

Definition at line 61 of file KeyboardMap.java.


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