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.
-
-
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()
An intent string 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)
An intent 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.- Parameters:
clocks
- The HOS clocks
-
setManageAction
public void setManageAction(java.lang.String manageAction)
An intent string to launch the OpenCab HOS provider app.- Parameters:
manageAction
- The intent string
-
getManageAction
public java.lang.String getManageAction()
An intent string to launch the OpenCab HOS provider app.- Returns:
- The intent 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
-
-