Represents the result of activity transitions.
| public static final Creator<ActivityTransitionResult> | CREATOR |
|
ActivityTransitionResult(List<ActivityTransitionEvent>
transitionEvents)
Constructs a result by specifying a list of transition events.
|
| boolean | |
| static ActivityTransitionResult | |
| List<ActivityTransitionEvent> |
getTransitionEvents()
Gets all the activity transition events in this result.
|
| static boolean | |
| int |
hashCode()
|
| void |
writeToParcel(Parcel dest, int
flags)
|
Constructs a result by specifying a list of transition events.
| transitionEvents | the transition events |
|---|
| NullPointerException | if transitionEvents is null |
|---|---|
| IllegalArgumentException | if the events in transitionEvents are not in ascending order of
time |
Extracts the ActivityTransitionResult
from the given Intent.
| intent | the Intent
to extract the result from |
|---|
ActivityTransitionResult
included in the given intent or return null if no such result is found
in the given intentGets all the activity transition events in this result. The events are in ascending order of time, and may include events in the past.
Checks if the intent contains an ActivityTransitionResult.