The builder to help create an ActivityTransition
object.
|
Builder()
|
| ActivityTransition |
build()
Builds a
ActivityTransition
object.
|
| ActivityTransition.Builder |
setActivityTransition(int transition)
Adds an interested transition type.
|
| ActivityTransition.Builder |
setActivityType(int activityType)
Sets the type of the activity to be detected.
|
Builds a ActivityTransition
object.
Adds an interested transition type.
| transition | the interested transition type. It's one of the ACTIVITY_TRANSITION_xxx constants. |
|---|
Sets the type of the activity to be detected.
| activityType | the type of the activity to be detected. It's one of the constant in
DetectedActivity. |
|---|