Class HOSContract.HOSStatusV2

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

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

  • Constructor Details

    • HOSStatusV2

      public HOSStatusV2()
    • HOSStatusV2

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

    • getClocks

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

      public void setClocks(List<HOSContract.ClockV2> clocks)
      The list of current HOS clocks for the driver.
      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
    • setLogoutAction

      public void setLogoutAction(String logoutAction)
      A URI string to launch logout on the OpenCab HOS provider app. Providers will launch a Intent.ACTION_VIEW intent to open this URI.
      Parameters:
      logoutAction - The URI string
    • getLogoutAction

      public String getLogoutAction()
      A URI string to launch logout on 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