/**
  * Sets the number of items that can be visited.
  *
  * @param itemCount The number of items.
  * @throws IllegalStateException If called from an AccessibilityService.
  */
 public void setItemCount(int itemCount) {
   IMPL.setItemCount(mRecord, itemCount);
 }