android.view.accessibility
Class AccessibilityEvent
java.lang.Object
android.view.accessibility.AccessibilityRecord
android.view.accessibility.AccessibilityEvent
- All Implemented Interfaces:
- Parcelable
public final class AccessibilityEvent
- extends AccessibilityRecord
- implements Parcelable
Methods inherited from class android.view.accessibility.AccessibilityRecord |
getAddedCount, getBeforeText, getClassName, getContentDescription, getCurrentItemIndex, getFromIndex, getItemCount, getParcelableData, getRemovedCount, getScrollX, getScrollY, getSource, getText, getToIndex, getWindowId, isChecked, isEnabled, isFullScreen, isPassword, isScrollable, obtain, setAddedCount, setBeforeText, setChecked, setClassName, setContentDescription, setCurrentItemIndex, setEnabled, setFromIndex, setFullScreen, setItemCount, setParcelableData, setPassword, setRemovedCount, setScrollable, setScrollX, setScrollY, setSource, setToIndex |
INVALID_POSITION
public static final int INVALID_POSITION
- See Also:
- Constant Field Values
MAX_TEXT_LENGTH
public static final int MAX_TEXT_LENGTH
- See Also:
- Constant Field Values
TYPE_VIEW_CLICKED
public static final int TYPE_VIEW_CLICKED
- See Also:
- Constant Field Values
TYPE_VIEW_LONG_CLICKED
public static final int TYPE_VIEW_LONG_CLICKED
- See Also:
- Constant Field Values
TYPE_VIEW_SELECTED
public static final int TYPE_VIEW_SELECTED
- See Also:
- Constant Field Values
TYPE_VIEW_FOCUSED
public static final int TYPE_VIEW_FOCUSED
- See Also:
- Constant Field Values
TYPE_VIEW_TEXT_CHANGED
public static final int TYPE_VIEW_TEXT_CHANGED
- See Also:
- Constant Field Values
TYPE_WINDOW_STATE_CHANGED
public static final int TYPE_WINDOW_STATE_CHANGED
- See Also:
- Constant Field Values
TYPE_NOTIFICATION_STATE_CHANGED
public static final int TYPE_NOTIFICATION_STATE_CHANGED
- See Also:
- Constant Field Values
TYPE_VIEW_HOVER_ENTER
public static final int TYPE_VIEW_HOVER_ENTER
- See Also:
- Constant Field Values
TYPE_VIEW_HOVER_EXIT
public static final int TYPE_VIEW_HOVER_EXIT
- See Also:
- Constant Field Values
TYPE_TOUCH_EXPLORATION_GESTURE_START
public static final int TYPE_TOUCH_EXPLORATION_GESTURE_START
- See Also:
- Constant Field Values
TYPE_TOUCH_EXPLORATION_GESTURE_END
public static final int TYPE_TOUCH_EXPLORATION_GESTURE_END
- See Also:
- Constant Field Values
TYPE_WINDOW_CONTENT_CHANGED
public static final int TYPE_WINDOW_CONTENT_CHANGED
- See Also:
- Constant Field Values
TYPE_VIEW_SCROLLED
public static final int TYPE_VIEW_SCROLLED
- See Also:
- Constant Field Values
TYPE_VIEW_TEXT_SELECTION_CHANGED
public static final int TYPE_VIEW_TEXT_SELECTION_CHANGED
- See Also:
- Constant Field Values
TYPES_ALL_MASK
public static final int TYPES_ALL_MASK
- See Also:
- Constant Field Values
CREATOR
public static final Parcelable.Creator<AccessibilityEvent> CREATOR
getRecordCount
public int getRecordCount()
appendRecord
public void appendRecord(AccessibilityRecord record)
getRecord
public AccessibilityRecord getRecord(int index)
getEventType
public int getEventType()
setEventType
public void setEventType(int eventType)
getEventTime
public long getEventTime()
setEventTime
public void setEventTime(long eventTime)
getPackageName
public CharSequence getPackageName()
setPackageName
public void setPackageName(CharSequence packageName)
obtain
public static AccessibilityEvent obtain(int eventType)
obtain
public static AccessibilityEvent obtain(AccessibilityEvent event)
obtain
public static AccessibilityEvent obtain()
recycle
public void recycle()
- Overrides:
recycle
in class AccessibilityRecord
initFromParcel
public void initFromParcel(Parcel parcel)
writeToParcel
public void writeToParcel(Parcel parcel,
int flags)
- Specified by:
writeToParcel
in interface Parcelable
describeContents
public int describeContents()
- Specified by:
describeContents
in interface Parcelable
toString
public String toString()
- Overrides:
toString
in class AccessibilityRecord
eventTypeToString
public static String eventTypeToString(int eventType)
Copyright © 2008-2012. All Rights Reserved.