@ TargetApi ( Build . VERSION_CODES . ICE_CREAM_SANDWICH ) public boolean sendEventForItem ( T item , int eventType ) { if ( ! mManager . isEnabled ( ) || Build . VERSION . SDK_INT < Build . VERSION_CODES . ICE_CREAM_SANDWICH ) { return false ; } final AccessibilityEvent event = getEventForItem ( item , eventType ) ; final ViewGroup group = ( ViewGroup ) mParentView . getParent ( ) ; return group . requestSendAccessibilityEvent ( mParentView , event ) ; }
Populates an event of the specified type with information about an item and attempts to send it up through the view hierarchy .