Package com.highmobility.autoapi
Class Adas.State.Builder
java.lang.Object
com.highmobility.autoapi.SetCommand.Builder<Adas.State.Builder>
com.highmobility.autoapi.Adas.State.Builder
- Enclosing class:
- Adas.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLaneKeepAssistsState(Property<LaneKeepAssistState> laneKeepAssistsState) Add a single lane keep assists stateaddParkAssist(Property<ParkAssist> parkAssist) Add a single park assistbuild()setAlertnessSystemStatus(Property<ActiveState> alertnessSystemStatus) setAutomatedParkingBrake(Property<ActiveState> automatedParkingBrake) setBlindSpotWarningState(Property<ActiveState> blindSpotWarningState) setBlindSpotWarningSystem(Property<OnOffState> blindSpotWarningSystem) setBlindSpotWarningSystemCoverage(Property<Adas.BlindSpotWarningSystemCoverage> blindSpotWarningSystemCoverage) setForwardCollisionWarningSystem(Property<ActiveState> forwardCollisionWarningSystem) setLaneKeepAssistsStates(Property<LaneKeepAssistState>[] laneKeepAssistsStates) Add an array of lane keep assists statessetLaneKeepAssistSystem(Property<OnOffState> laneKeepAssistSystem) setLaunchControl(Property<ActiveState> launchControl) setParkAssists(Property<ParkAssist>[] parkAssists) Add an array of park assistssetRearCrossWarningSystem(Property<ActiveState> rearCrossWarningSystem) setStatus(Property<OnOffState> status) Methods inherited from class com.highmobility.autoapi.SetCommand.Builder
addProperty, getProperties, setBrand, setNonce, setSignature, setTimestamp, setVin
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
- Overrides:
buildin classSetCommand.Builder<Adas.State.Builder>
-
setStatus
- Parameters:
status- Indicates whether the driver assistance system is active or not.- Returns:
- The builder
-
setAlertnessSystemStatus
- Parameters:
alertnessSystemStatus- Indicates if the driver alertness warning is active or inactive.- Returns:
- The builder
-
setForwardCollisionWarningSystem
public Adas.State.Builder setForwardCollisionWarningSystem(Property<ActiveState> forwardCollisionWarningSystem) - Parameters:
forwardCollisionWarningSystem- Indicates whether the forward collision warning system is active or inactive.- Returns:
- The builder
-
setBlindSpotWarningState
- Parameters:
blindSpotWarningState- Indicates whether the blind spot warning system is active or not.- Returns:
- The builder
-
setBlindSpotWarningSystemCoverage
public Adas.State.Builder setBlindSpotWarningSystemCoverage(Property<Adas.BlindSpotWarningSystemCoverage> blindSpotWarningSystemCoverage) - Parameters:
blindSpotWarningSystemCoverage- Blind spot warning system coverage.- Returns:
- The builder
-
setRearCrossWarningSystem
- Parameters:
rearCrossWarningSystem- Indicates whether the rear cross warning system is active or not.- Returns:
- The builder
-
setAutomatedParkingBrake
- Parameters:
automatedParkingBrake- Automatic brake state- Returns:
- The builder
-
setLaneKeepAssistSystem
- Parameters:
laneKeepAssistSystem- Indicates if the lane keep assist system is turned on or not.- Returns:
- The builder
-
setLaneKeepAssistsStates
public Adas.State.Builder setLaneKeepAssistsStates(Property<LaneKeepAssistState>[] laneKeepAssistsStates) Add an array of lane keep assists states- Parameters:
laneKeepAssistsStates- The lane keep assists states. Lane keeping assist state indicating the vehicle is actively controlling the wheels.- Returns:
- The builder
-
addLaneKeepAssistsState
public Adas.State.Builder addLaneKeepAssistsState(Property<LaneKeepAssistState> laneKeepAssistsState) Add a single lane keep assists state- Parameters:
laneKeepAssistsState- The lane keep assists state. Lane keeping assist state indicating the vehicle is actively controlling the wheels.- Returns:
- The builder
-
setParkAssists
Add an array of park assists- Parameters:
parkAssists- The park assists. If the alarm is active and the driver has muted or not park assists.- Returns:
- The builder
-
addParkAssist
Add a single park assist- Parameters:
parkAssist- The park assist. If the alarm is active and the driver has muted or not park assists.- Returns:
- The builder
-
setBlindSpotWarningSystem
- Parameters:
blindSpotWarningSystem- Indicates whether the blind spot warning system is turned on or not.- Returns:
- The builder
-
setLaunchControl
- Parameters:
launchControl- State of launch control activation.- Returns:
- The builder
-