Class GeoUniq.MotionActivity

  • Enclosing class:
    GeoUniq

    public static class GeoUniq.MotionActivity
    extends java.lang.Object
    Models a motion activity, that is, a period of time during which the same motion type (see GeoUniq.MotionActivity.Type) has been observed
    • Method Detail

      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • startTime

        @NonNull
        public java.util.Date startTime()
        Allows to obtain the start time of this MotionActivity
        Returns:
        a Date object indicating the start time
      • endTime

        @Nullable
        public java.util.Date endTime()
        Allows to obtain the end time of this MotionActivity
        Returns:
        a Date object indicating the end time or null if the activity is still in progress
      • endPosition

        @Nullable
        public GeoUniq.GeoPoint endPosition()
        Allows to obtain the end position of this MotionActivity
        Returns:
        a GeoUniq.GeoPoint object indicating the end position or null if 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 this MotionActivity
        Returns:
        a GeoUniq.GeoPoint object indicating the end position or null if the start position couldn't be identified