import android.support.test.uiautomator.Direction; //导入依赖的package包/类
/**
* Navigates through the focus items in a container returning the container child that has a
* descendant matching the {@code selector}.
*
* The navigation starts in the {@code direction} specified and
* {@link Direction#reverse(Direction) reverses} once if needed. Fails if there is not a
* focused
* descendant, or if after completing both directions no focused child has a descendant
* matching
* {@code selector}.
*
* Fails if the menu item can not be navigated to.
*
* @param uiDevice the device under test.
* @param container contains children to navigate over.
* @param selector the selector for the object to navigate to.
* @param direction the direction to start navigating.
* @return