Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
android_skp_capture.DragAction Class Reference

Public Member Functions

 __init__ (self, start, end, duration, points)
 
 run (self, device)
 

Public Attributes

 start
 
 end
 
 duration
 
 points
 

Detailed Description

Action describing a touch drag.

Definition at line 25 of file android_skp_capture.py.

Constructor & Destructor Documentation

◆ __init__()

android_skp_capture.DragAction.__init__ (   self,
  start,
  end,
  duration,
  points 
)

Definition at line 27 of file android_skp_capture.py.

27 def __init__(self, start, end, duration, points):
28 self.start = start
29 self.end = end
30 self.duration = duration
31 self.points = points
32

Member Function Documentation

◆ run()

android_skp_capture.DragAction.run (   self,
  device 
)
Perform the action.

Definition at line 33 of file android_skp_capture.py.

33 def run(self, device):
34 """Perform the action."""
35 return device.drag(self.start, self.end, self.duration, self.points)
36
37
Definition run.py:1

Member Data Documentation

◆ duration

android_skp_capture.DragAction.duration

Definition at line 30 of file android_skp_capture.py.

◆ end

android_skp_capture.DragAction.end

Definition at line 29 of file android_skp_capture.py.

◆ points

android_skp_capture.DragAction.points

Definition at line 31 of file android_skp_capture.py.

◆ start

android_skp_capture.DragAction.start

Definition at line 28 of file android_skp_capture.py.


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