Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
io.flutter.embedding.android.MotionEventTracker.MotionEventId Class Reference

Public Member Functions

long getId ()
 

Static Public Member Functions

static MotionEventId from (long id)
 
static MotionEventId createUnique ()
 

Detailed Description

Represents a unique identifier corresponding to a motion event.

Definition at line 14 of file MotionEventTracker.java.

Member Function Documentation

◆ createUnique()

static MotionEventId io.flutter.embedding.android.MotionEventTracker.MotionEventId.createUnique ( )
inlinestatic

Definition at line 28 of file MotionEventTracker.java.

28 {
29 return MotionEventId.from(ID_COUNTER.incrementAndGet());
30 }

◆ from()

static MotionEventId io.flutter.embedding.android.MotionEventTracker.MotionEventId.from ( long  id)
inlinestatic

Definition at line 23 of file MotionEventTracker.java.

23 {
24 return new MotionEventId(id);
25 }

◆ getId()

long io.flutter.embedding.android.MotionEventTracker.MotionEventId.getId ( )
inline

Definition at line 32 of file MotionEventTracker.java.

32 {
33 return id;
34 }

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