Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.54 KB

TouchInputRequest.md

File metadata and controls

32 lines (23 loc) · 1.54 KB

TouchInputRequest

Properties

Name Type Description Notes
position List[List[float]] Array of per-finger [x,y] touch positions, up to 10 depending on model. [optional]
buttons List[str] Buttons held when this position is reached. Omit to leave unchanged; use an empty array to release. VM button names: finger, homeButton, holdButton (Power/Hold), volumeUp, volumeDown, backButton, overviewButton. Also accepts single ASCII characters and keyboard key names (e.g. enter, home, power). Use finger:1 for the fingerprint sensor. [optional]
normalized bool Use normalized 0-10000 coordinates. [optional]
wait float Duration to wait before this input is executed, in milliseconds. [optional]

Example

from corellium.models.touch_input_request import TouchInputRequest

# TODO update the JSON string below
json = "{}"
# create an instance of TouchInputRequest from a JSON string
touch_input_request_instance = TouchInputRequest.from_json(json)
# print the JSON string representation of the object
print(TouchInputRequest.to_json())

# convert the object into a dict
touch_input_request_dict = touch_input_request_instance.to_dict()
# create an instance of TouchInputRequest from a dict
touch_input_request_from_dict = TouchInputRequest.from_dict(touch_input_request_dict)

[Back to Model list] [Back to API list] [Back to README]