Execute UiAutomator commands within appium script

Hello ,

I was wonder if there a way to execute UiAutomator commands straight from appium test ?

The only API I do see is “findElementByAndroidUIAutomator” which expect to get a return value from uiutomator (UiScrollable / UiObject) in order to look after it.

In my flow I trying to execute a UiScrollable().flingBackward() command which returns boolean value …

Is there a way to achieve it ?

Use a system call from whatever programming language you are using.

How system call will help here?
Inorder to communicate with uiautomator server, I need an Api…