Class HOSContract.HOSData

java.lang.Object
org.opencabstandard.provider.HOSContract.HOSData
Enclosing class:
HOSContract

public static class HOSContract.HOSData extends Object
An object representing the HOS data for version 0.4
  • Constructor Details

    • HOSData

      public HOSData()
  • Method Details

    • getClocks

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

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

      public String getUsername()
    • setUsername

      public void setUsername(String username)