Package com.highmobility.autoapi
Class SetCommand
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<Byte>
com.highmobility.value.Bytes
com.highmobility.autoapi.Command
com.highmobility.autoapi.SetCommand
- Direct Known Subclasses:
Adas.State,Browser.LoadUrl,Capabilities.State,Charging.OpenCloseChargingPort,Charging.SetChargeLimit,Charging.SetChargeMode,Charging.SetChargingTimers,Charging.SetReductionOfChargingCurrentTimes,Charging.StartStopCharging,Charging.State,ChargingSession.State,ChassisSettings.SetChassisPosition,ChassisSettings.SetDrivingMode,ChassisSettings.SetSpringRates,ChassisSettings.StartStopSportsChrono,ChassisSettings.State,Climate.ChangeStartingTimes,Climate.SetTemperatureSettings,Climate.StartStopDefogging,Climate.StartStopDefrosting,Climate.StartStopHvac,Climate.StartStopIonising,Climate.State,Crash.State,CruiseControl.ActivateDeactivateCruiseControl,CruiseControl.State,DashboardLights.State,Diagnostics.State,Doors.LockUnlockDoors,Doors.State,DriverFatigue.State,Engine.EnableDisableStartStop,Engine.State,Engine.TurnEngineOnOff,FailureMessage.State,FirmwareVersion.State,Fueling.ControlGasFlap,Fueling.State,Graphics.DisplayImage,HeartRate.SendHeartRate,Historical.GetChargingSessions,Historical.GetTrips,Historical.RequestStates,Historical.State,HomeCharger.ActivateDeactivateSolarCharging,HomeCharger.AuthenticateExpire,HomeCharger.EnableDisableWiFiHotspot,HomeCharger.SetChargeCurrent,HomeCharger.SetPriceTariffs,HomeCharger.State,HonkHornFlashLights.ActivateDeactivateEmergencyFlasher,HonkHornFlashLights.HonkFlash,HonkHornFlashLights.State,Hood.State,Ignition.State,Ignition.TurnIgnitionOnOff,KeyfobPosition.State,LightConditions.State,Lights.ControlLights,Lights.State,Maintenance.State,Messaging.MessageReceived,Messaging.State,Mobile.State,MultiCommand.MultiCommandCommand,MultiCommand.State,NaviDestination.SetNaviDestination,NaviDestination.State,Notifications.Action,Notifications.ClearNotification,Notifications.Notification,Notifications.State,Offroad.State,ParkingBrake.SetParkingBrake,ParkingBrake.State,ParkingTicket.EndParking,ParkingTicket.StartParking,ParkingTicket.State,PowerTakeoff.ActivateDeactivatePowerTakeoff,PowerTakeoff.State,Race.State,RemoteControl.ControlCommand,RemoteControl.StartControl,RemoteControl.State,RemoteControl.StopControl,RooftopControl.ControlRooftop,RooftopControl.State,Seats.State,Tachograph.State,TextInput.TextInputCommand,TheftAlarm.SetTheftAlarm,TheftAlarm.State,Trips.State,Trunk.ControlTrunk,Trunk.State,Usage.State,ValetMode.ActivateDeactivateValetMode,ValetMode.State,VehicleInformation.State,VehicleLocation.State,VehicleStatus.State,VehicleTime.State,VideoHandover.VideoHandoverCommand,WakeUp.WakeUpCommand,WeatherConditions.State,WiFi.ConnectToNetwork,WiFi.EnableDisableWiFi,WiFi.ForgetNetwork,WiFi.State,Windows.ControlWindows,Windows.State,Windscreen.ControlWipers,Windscreen.SetWindscreenDamage,Windscreen.SetWindscreenReplacementNeeded,Windscreen.State
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUse this builder to build an undefined capability.static classNested classes/interfaces inherited from class com.highmobility.autoapi.Command
Command.HandleNotParsedProperty, Command.PropertyIteration, Command.PropertyIterator -
Field Summary
Fields inherited from class com.highmobility.autoapi.Command
BRAND_IDENTIFIER, NONCE_IDENTIFIER, propertyIterator, SIGNATURE_IDENTIFIER, TIMESTAMP_IDENTIFIER, universalPropertyIds, VIN_IDENTIFIERFields inherited from class com.highmobility.value.Bytes
bytesFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProperty(Property property) Add a property to the command.protected voidprotected Stringprotected StringMethods inherited from class com.highmobility.autoapi.Command
findUniversalProperties, findUniversalProperties, getAutoApiVersion, getBrand, getCommandType, getIdentifier, getNonce, getProperties, getProperty, getSignature, getSignedBytes, getTimestamp, getVinMethods inherited from class com.highmobility.value.Bytes
concat, concat, equals, get, getBase64, getBase64UrlSafe, getByteArray, getHex, getLength, getRange, set, set, set, size, toStringMethods inherited from class java.util.AbstractList
add, add, addAll, clear, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArrayMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
SetCommand
-
-
Method Details
-
addProperty
Add a property to the command. It is used in SetCommands, to create the bytes and properties array.- Parameters:
property- The property.
-
createBytes
protected void createBytes() -
mandatoryPropertyErrorMessage
-
optionalPropertyErrorMessage
-