This is the runtime error message:
Runtime error: Invalid method call. Invalid Parameters.
public void com.nirenr.talkman.TalkManAccessibilityService.toLongClick()
public void
com.nirenr.talkman.TalkManAccessibilityService.toLongClick(android.view.accessibility.AccessibilityNodeInfo)
public void com.nirenr.talkman.TalkManAccessibilityService.toLongClick()
public void
com.nirenr.talkman.TalkManAccessibilityService.toLongClick(android.view.accessibility.AccessibilityNodeInfo)
stack traceback:
[C]: in field 'toLongClick'
/storage/emulated/0/解说/Gestures/Custom/mute:1: in main chunk
On 4/12/21, Alissar Abdulbaqi <alissar570@xxxxxxxxx> wrote:
Hello. I'm facing a problem in a function for Commentary Screen Reader:** To leave the list, click on the immediately-following link:-
There is a function for long pressing an item on the screen which is:
service.toLongClick()
I want to create this function to make it long press the focused item
and stays on a button without accessing it.
My function is:
if service.toLongClick("<Mute")
return true
end
But while executing it, I receive an error message of "runtime error".
What's the error in writing the function?
Thanks for any help