What is correct syntax for writing findByUIAutomator

Could someone help to get the correct syntax of the below statement.
driver.findElementByAndroidUIAutomator(“new UiSelector.textContains(app random number 12345)”);
//app random number 12345 - is the text I want to search for.

Issue resolved…
driver.findElementByAndroidUIAutomator(“new UiSelector().textContains(“xxxxxxxxxxxx”)”);