Class HOSContract.HOSStatus

java.lang.Object
org.opencabstandard.provider.HOSContract.HOSStatus
All Implemented Interfaces:
android.os.Parcelable
Enclosing class:
HOSContract

public static class HOSContract.HOSStatus extends Object implements android.os.Parcelable
An object representing the HOS status for version 0.2.
  • Field Details

  • Constructor Details

    • HOSStatus

      public HOSStatus()
    • HOSStatus

      protected HOSStatus(android.os.Parcel in)
  • Method Details

    • getClocks

      public List<HOSContract.Clock> getClocks()
      The list of current HOS clocks for the driver.
      Returns:
      The HOS clocks
    • setClocks

      public void setClocks(List<HOSContract.Clock> clocks)
      The list of current HOS clocks for the driver. A URI string to launch the OpenCab HOS provider app.
      Parameters:
      clocks - The HOS clocks
    • setManageAction

      public void setManageAction(String manageAction)
      A URI string to launch the OpenCab HOS provider app. Providers will launch a Intent.ACTION_VIEW intent to open this URI.
      Parameters:
      manageAction - The URI string
    • getManageAction

      public String getManageAction()
      A URI string used to launch the OpenCab HOS provider app. Providers will launch a Intent.ACTION_VIEW intent to open this URI.
      Returns:
      The URI string
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable
    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable