Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.8 KB

InstanceInputBody.md

File metadata and controls

40 lines (31 loc) · 2.8 KB

InstanceInputBody

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]
start List[List[float]] Array of per-finger [x,y] touch positions, up to 10 depending on model.
end List[List[float]] Array of per-finger [x,y] touch positions, up to 10 depending on model.
bezier_points List[List[List[float]]] Per-finger intermediate touch positions. [optional]
start_buttons List[str] Buttons held during this curve. 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.
end_buttons List[str] Buttons left held after this curve. 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]
duration float Duration to execute this curve over, in milliseconds.
text str Text to type.
key_duration float How long to take to type each key, in milliseconds. Defaults to ~150ms per key downstream when omitted. [optional]

Example

from corellium.models.instance_input_body import InstanceInputBody

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

# convert the object into a dict
instance_input_body_dict = instance_input_body_instance.to_dict()
# create an instance of InstanceInputBody from a dict
instance_input_body_from_dict = InstanceInputBody.from_dict(instance_input_body_dict)

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