Interface TmdStatus

  • All Superinterfaces:
    android.os.Parcelable

    public interface TmdStatus
    extends android.os.Parcelable
    "0_tmd_not_running": At Tmd init, before the services start "1_idle": TMD is active and monitoring motion "1_recording": TMD is recording "1_running": TMD is running locally "1_location_permission_change_location_available" "1_location_permission_change_location_unavailable" "0_tmd_stopped_insufficient_permissions": TMD has stopped because location permission changed "0_tmd_stopped_manually": TMD has been stopped manually via TMD#stop() "0_tmd_start_failed_cause_insufficient_motion_fitness_services": TMD could not start because of a problem with Motion & Fitness service availability/permissions "0_tmd_start_failed_cause_insufficient_location_services": TMD could not start because of a problem with Location service availability/permissions "0_application_killed": Application was killed "0_application_not_running": Application was not running and the reason for that is unkown "2_unknown_event": Unknown event
    • Method Detail

      • getTimestampStart

        long getTimestampStart()
        Returns:
        the UTC timestamp (in ms) of the start of the TMD status
      • getTimestampEnd

        long getTimestampEnd()
        Returns:
        the UTC timestamp (in ms) of the end of the TMD status
      • getDuration

        double getDuration()
        Returns:
        the duration in seconds of the status
      • getLabel

        @NonNull
        java.lang.String getLabel()
        Returns:
        the label of the status