Page Summary
-
ActivityTransition represents an activity and its transition, such as starting or stopping.
-
It includes nested classes like Builder for creating ActivityTransition objects and SupportedActivityTransition for activity transition constants.
-
Constants are defined for entering and exiting an activity.
-
Public methods are available to get the activity type and transition type.
Represents an activity and the transition of it. For instance start to walk; stop running etc.
Nested Class Summary
Constant Summary
| int | ACTIVITY_TRANSITION_ENTER | User enters the given activity. |
| int | ACTIVITY_TRANSITION_EXIT | User exits the given activity. |
Inherited Constant Summary
Field Summary
| public static final Creator < ActivityTransition > | CREATOR |
Public Method Summary
| boolean | |
| int | |
| int | |
| int | hashCode
()
|
| String | toString
()
|
| void |
Inherited Method Summary
Constants
public static final int ACTIVITY_TRANSITION_ENTER
User enters the given activity.
public static final int ACTIVITY_TRANSITION_EXIT
User exits the given activity.
Fields
public static final Creator < ActivityTransition > CREATOR
Public Methods
public boolean equals ( Object object)
public int getActivityType ()
Gets the type of the activity to be detected.
public int getTransitionType ()
Gets the interested transition type. It's one of the ACTIVITY_TRANSITION_xxx constants.

