Package com.geouniq.android
Class GeoUniq.MotionActivity
- java.lang.Object
-
- com.geouniq.android.GeoUniq.MotionActivity
-
- Enclosing class:
- GeoUniq
public static class GeoUniq.MotionActivity extends java.lang.ObjectModels a motion activity, that is, a period of time during which the same motion type (seeGeoUniq.MotionActivity.Type) has been observed
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoUniq.MotionActivity.TypeEnumeration defining the kinds of motion activities.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoUniq.GeoPointendPosition()Allows to obtain the end position of thisMotionActivityjava.util.DateendTime()Allows to obtain the end time of thisMotionActivityGeoUniq.GeoPointstartPosition()Allows to obtain the start position of thisMotionActivityjava.util.DatestartTime()Allows to obtain the start time of thisMotionActivityjava.lang.StringtoString()GeoUniq.MotionActivity.Typetype()Allows to obtain theGeoUniq.MotionActivity.Typeof movement of thisMotionActivity
-
-
-
Method Detail
-
toString
@NonNull public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
type
@NonNull public GeoUniq.MotionActivity.Type type()
Allows to obtain theGeoUniq.MotionActivity.Typeof movement of thisMotionActivity- Returns:
- the
Typeof movement
-
startTime
@NonNull public java.util.Date startTime()
Allows to obtain the start time of thisMotionActivity- Returns:
- a
Dateobject indicating the start time
-
endTime
@Nullable public java.util.Date endTime()
Allows to obtain the end time of thisMotionActivity- Returns:
- a
Dateobject indicating the end time ornullif the activity is still in progress
-
endPosition
@Nullable public GeoUniq.GeoPoint 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
@Nullable public GeoUniq.GeoPoint 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
-
-