scrollTo() expects a string as an input argument, that is the text name of the element you are looking and this function returns WebElement.
Ex: In your application, if you have option say "Appium" some where at the bottom after scrolling and you want to scroll till "Appium",
you should use:
driver.scrollTo("Appium")
Once you scroll, if you want to click on Appium, you can use statement like:
driver.scrollTo("Appium").click
WebElement ele=driver."your meachanism to identify this webelement"
ele.click();
I hope the above helps.
Thanks,
Uday