Package com.geouniq.android
Class GeoUniq.MotionActivity
java.lang.Object
com.geouniq.android.GeoUniq.MotionActivity
- Enclosing class:
- GeoUniq
Models a motion activity, that is, a period of time during which the same motion type (see
GeoUniq.MotionActivity.Type) has been observed-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration defining the kinds of motion activities. -
Method Summary
Modifier and TypeMethodDescriptionAllows to obtain the end position of thisMotionActivityendTime()Allows to obtain the end time of thisMotionActivityAllows to obtain the start position of thisMotionActivityAllows to obtain the start time of thisMotionActivitytoString()type()Allows to obtain theGeoUniq.MotionActivity.Typeof movement of thisMotionActivity
-
Method Details
-
toString
-
type
Allows to obtain theGeoUniq.MotionActivity.Typeof movement of thisMotionActivity- Returns:
- the
Typeof movement
-
startTime
Allows to obtain the start time of thisMotionActivity- Returns:
- a
Dateobject indicating the start time
-
endTime
Allows to obtain the end time of thisMotionActivity- Returns:
- a
Dateobject indicating the end time ornullif the activity is still in progress
-
endPosition
Allows to obtain the end position of thisMotionActivity- Returns:
- a
GeoUniq.GeoPointobject indicating the end position ornullif the activity is still in progress or the end position couldn't be identified
-
startPosition
Allows to obtain the start position of thisMotionActivity- Returns:
- a
GeoUniq.GeoPointobject indicating the end position ornullif the start position couldn't be identified
-