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

Public Member Functions

 PlatformViewTouch (int viewId, @NonNull Number downTime, @NonNull Number eventTime, int action, int pointerCount, @NonNull Object rawPointerPropertiesList, @NonNull Object rawPointerCoords, int metaState, int buttonState, float xPrecision, float yPrecision, int deviceId, int edgeFlags, int source, int flags, long motionEventId)
 

Public Attributes

final int viewId
 
final Number downTime
 
final Number eventTime
 
final int action
 
final int pointerCount
 
final Object rawPointerPropertiesList
 
final Object rawPointerCoords
 
final int metaState
 
final int buttonState
 
final float xPrecision
 
final float yPrecision
 
final int deviceId
 
final int edgeFlags
 
final int source
 
final int flags
 
final long motionEventId
 

Detailed Description

The state of a touch event in Flutter within a platform view.

Definition at line 492 of file PlatformViewsChannel.java.

Constructor & Destructor Documentation

◆ PlatformViewTouch()

io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.PlatformViewTouch ( int  viewId,
@NonNull Number  downTime,
@NonNull Number  eventTime,
int  action,
int  pointerCount,
@NonNull Object  rawPointerPropertiesList,
@NonNull Object  rawPointerCoords,
int  metaState,
int  buttonState,
float  xPrecision,
float  yPrecision,
int  deviceId,
int  edgeFlags,
int  source,
int  flags,
long  motionEventId 
)
inline

Definition at line 527 of file PlatformViewsChannel.java.

543 {
544 this.viewId = viewId;
545 this.downTime = downTime;
546 this.eventTime = eventTime;
547 this.action = action;
548 this.pointerCount = pointerCount;
549 this.rawPointerPropertiesList = rawPointerPropertiesList;
550 this.rawPointerCoords = rawPointerCoords;
551 this.metaState = metaState;
552 this.buttonState = buttonState;
553 this.xPrecision = xPrecision;
554 this.yPrecision = yPrecision;
555 this.deviceId = deviceId;
556 this.edgeFlags = edgeFlags;
557 this.source = source;
558 this.flags = flags;
559 this.motionEventId = motionEventId;
560 }

Member Data Documentation

◆ action

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.action

Definition at line 501 of file PlatformViewsChannel.java.

◆ buttonState

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.buttonState

TODO(mattcarroll): javadoc

Definition at line 511 of file PlatformViewsChannel.java.

◆ deviceId

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.deviceId

TODO(mattcarroll): javadoc

Definition at line 517 of file PlatformViewsChannel.java.

◆ downTime

final Number io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.downTime

The amount of time that the touch has been pressed.

Definition at line 497 of file PlatformViewsChannel.java.

◆ edgeFlags

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.edgeFlags

TODO(mattcarroll): javadoc

Definition at line 519 of file PlatformViewsChannel.java.

◆ eventTime

final Number io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.eventTime

TODO(mattcarroll): javadoc

Definition at line 499 of file PlatformViewsChannel.java.

◆ flags

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.flags

TODO(mattcarroll): javadoc

Definition at line 523 of file PlatformViewsChannel.java.

◆ metaState

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.metaState

TODO(mattcarroll): javadoc

Definition at line 509 of file PlatformViewsChannel.java.

◆ motionEventId

final long io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.motionEventId

TODO(iskakaushik): javadoc

Definition at line 525 of file PlatformViewsChannel.java.

◆ pointerCount

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.pointerCount

The number of pointers (e.g, fingers) involved in the touch event.

Definition at line 503 of file PlatformViewsChannel.java.

◆ rawPointerCoords

final Object io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.rawPointerCoords

Coordinates for each pointer, encoded in a raw format.

Definition at line 507 of file PlatformViewsChannel.java.

◆ rawPointerPropertiesList

final Object io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.rawPointerPropertiesList

Properties for each pointer, encoded in a raw format.

Definition at line 505 of file PlatformViewsChannel.java.

◆ source

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.source

TODO(mattcarroll): javadoc

Definition at line 521 of file PlatformViewsChannel.java.

◆ viewId

final int io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.viewId

The ID of the platform view as seen by the Flutter side.

Definition at line 494 of file PlatformViewsChannel.java.

◆ xPrecision

final float io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.xPrecision

Coordinate precision along the x-axis.

Definition at line 513 of file PlatformViewsChannel.java.

◆ yPrecision

final float io.flutter.embedding.engine.systemchannels.PlatformViewsChannel.PlatformViewTouch.yPrecision

Coordinate precision along the y-axis.

Definition at line 515 of file PlatformViewsChannel.java.


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