java.lang.Object |
↳ |
com.google.android.gms.location.ActivityTransition |
Class Overview
Represents an activity and the transition of it. For instance start to walk; stop running etc.
Summary
Nested Classes |
class |
ActivityTransition.Builder |
The builder to help create an ActivityTransition object. |
@interface |
ActivityTransition.SupportedActivityTransition |
Activity transition constants annotation. |
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Constants
public
static
final
int
ACTIVITY_TRANSITION_ENTER
User enters the given activity.
Constant Value:
0
(0x00000000)
public
static
final
int
ACTIVITY_TRANSITION_EXIT
User exits the given activity.
Constant Value:
1
(0x00000001)
Fields
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.
public
String
toString
()
public
void
writeToParcel
(Parcel dest, int flags)
Parameters |
dest |
Parcel |
flags |
int |