๐๏ธ Touch
Interface for handling touch interactions on Android devices.
๐๏ธ Touch:init()
Initializes the touch interface. This method must be called before using any other touch methods.
๐๏ธ Touch:down()
Performs a touch down action at the specified coordinates or point.
๐๏ธ Touch:move()
Performs a touch move action to the specified coordinates or point.
๐๏ธ Touch:up()
Performs a touch up action, releasing the touch at the current position.
๐๏ธ Touch:exit()
Exits and cleans up the touch interface. This method should be called when you're done using the touch interface.
๐๏ธ Touch:dispatch()
Dispatches all pending touch events to the system. This method is useful when you want to ensure all touch events are processed immediately.