Package com.highmobility.autoapi
Class Doors.State.Builder
java.lang.Object
com.highmobility.autoapi.SetCommand.Builder<Doors.State.Builder>
com.highmobility.autoapi.Doors.State.Builder
- Enclosing class:
- Doors.State
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddInsideLock(Property<Lock> insideLock) Add a single inside lockAdd a single lockaddPosition(Property<DoorPosition> position) Add a single positionbuild()setInsideLocks(Property<Lock>[] insideLocks) Add an array of inside lockssetInsideLocksState(Property<LockState> insideLocksState) Add an array of lockssetLocksState(Property<LockState> locksState) setPositions(Property<DoorPosition>[] positions) Add an array of positionsMethods 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<Doors.State.Builder>
-
setInsideLocks
Add an array of inside locks- Parameters:
insideLocks- The inside locks. Inside lock states for the given doors- Returns:
- The builder
-
addInsideLock
Add a single inside lock- Parameters:
insideLock- The inside lock. Inside lock states for the given doors- Returns:
- The builder
-
setLocks
Add an array of locks- Parameters:
locks- The locks. Lock states for the given doors- Returns:
- The builder
-
addLock
Add a single lock- Parameters:
lock- The lock. Lock states for the given doors- Returns:
- The builder
-
setPositions
Add an array of positions- Parameters:
positions- The positions. Door positions for the given doors- Returns:
- The builder
-
addPosition
Add a single position- Parameters:
position- The position. Door positions for the given doors- Returns:
- The builder
-
setInsideLocksState
- Parameters:
insideLocksState- Inside locks state for the whole vehicle (combines all specific lock states if available)- Returns:
- The builder
-
setLocksState
- Parameters:
locksState- Locks state for the whole vehicle (combines all specific lock states if available)- Returns:
- The builder
-