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

Public Member Functions

 __init__ (self, button, press_type)
 
 run (self, device)
 

Public Attributes

 button
 
 press_type
 

Detailed Description

Action describing a button press.

Definition at line 38 of file android_skp_capture.py.

Constructor & Destructor Documentation

◆ __init__()

android_skp_capture.PressAction.__init__ (   self,
  button,
  press_type 
)

Definition at line 40 of file android_skp_capture.py.

40 def __init__(self, button, press_type):
41 self.button = button
42 self.press_type = press_type
43

Member Function Documentation

◆ run()

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

Definition at line 44 of file android_skp_capture.py.

44 def run(self, device):
45 """Perform the action."""
46 return device.press(self.button, self.press_type)
47
48
Definition run.py:1

Member Data Documentation

◆ button

android_skp_capture.PressAction.button

Definition at line 41 of file android_skp_capture.py.

◆ press_type

android_skp_capture.PressAction.press_type

Definition at line 42 of file android_skp_capture.py.


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