Represents an activity and the transition of it. For instance start to walk; stop running etc.
| class | ActivityTransition.Builder | The builder to help create an ActivityTransition
object. |
|
| @interface | ActivityTransition.SupportedActivityTransition | Activity transition constants annotation. | |
| int | ACTIVITY_TRANSITION_ENTER | User enters the given activity. |
| int | ACTIVITY_TRANSITION_EXIT | User exits the given activity. |
| public static final Creator<ActivityTransition> | CREATOR |
| boolean | |
| int |
getActivityType()
Gets the type of the activity to be detected.
|
| int |
getTransitionType()
Gets the interested transition type.
|
| int |
hashCode()
|
| String |
toString()
|
| void |
writeToParcel(Parcel dest, int
flags)
|
User enters the given activity.
User exits the given activity.
Gets the type of the activity to be detected.
Gets the interested transition type. It's one of the ACTIVITY_TRANSITION_xxx constants.