Package org.opencabstandard.provider
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 java.lang.Object implements android.os.Parcelable
An object representing the HOS status for version 0.2.
-
-
Field Summary
Fields Modifier and Type Field Description static android.os.Parcelable.Creator<HOSContract.HOSStatus>
CREATOR
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
java.util.List<HOSContract.Clock>
getClocks()
The list of current HOS clocks for the driver.java.lang.String
getManageAction()
A URI string used to launch the OpenCab HOS provider app.void
setClocks(java.util.List<HOSContract.Clock> clocks)
The list of current HOS clocks for the driver.void
setManageAction(java.lang.String manageAction)
A URI string to launch the OpenCab HOS provider app.void
writeToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<HOSContract.HOSStatus> CREATOR
-
-
Method Detail
-
getClocks
public java.util.List<HOSContract.Clock> getClocks()
The list of current HOS clocks for the driver.- Returns:
- The HOS clocks
-
setClocks
public void setClocks(java.util.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(java.lang.String manageAction)
A URI string to launch the OpenCab HOS provider app. Providers will launch aIntent.ACTION_VIEW
intent to open this URI.- Parameters:
manageAction
- The URI string
-
getManageAction
public java.lang.String getManageAction()
A URI string used to launch the OpenCab HOS provider app. Providers will launch aIntent.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 interfaceandroid.os.Parcelable
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
-