diff options
Diffstat (limited to 'SmartDeviceLink/SDLOnVehicleData.h')
-rw-r--r-- | SmartDeviceLink/SDLOnVehicleData.h | 55 |
1 files changed, 30 insertions, 25 deletions
diff --git a/SmartDeviceLink/SDLOnVehicleData.h b/SmartDeviceLink/SDLOnVehicleData.h index 2e5bf3a13..6a8c4af78 100644 --- a/SmartDeviceLink/SDLOnVehicleData.h +++ b/SmartDeviceLink/SDLOnVehicleData.h @@ -26,112 +26,117 @@ * * Since SmartDeviceLink 2.0 */ + +NS_ASSUME_NONNULL_BEGIN + @interface SDLOnVehicleData : SDLRPCNotification /** * @abstract A SDLGPSData* value. See GPSData. */ -@property (strong) SDLGPSData *gps; +@property (nullable, strong, nonatomic) SDLGPSData *gps; /** * @abstract The vehicle speed in kilometers per hour. */ -@property (strong) NSNumber<SDLFloat> *speed; +@property (nullable, strong, nonatomic) NSNumber<SDLFloat> *speed; /** * @abstract The number of revolutions per minute of the engine. */ -@property (strong) NSNumber<SDLInt> *rpm; +@property (nullable, strong, nonatomic) NSNumber<SDLInt> *rpm; /** * @abstract The fuel level in the tank (percentage) */ -@property (strong) NSNumber<SDLFloat> *fuelLevel; +@property (nullable, strong, nonatomic) NSNumber<SDLFloat> *fuelLevel; /** * @abstract A SDLComponentVolumeStatus* value. The fuel level state. */ -@property (strong) SDLComponentVolumeStatus fuelLevel_State; +@property (nullable, strong, nonatomic) SDLComponentVolumeStatus fuelLevel_State; /** * @abstract The instantaneous fuel consumption in microlitres. */ -@property (strong) NSNumber<SDLFloat> *instantFuelConsumption; +@property (nullable, strong, nonatomic) NSNumber<SDLFloat> *instantFuelConsumption; /** * @abstract The external temperature in degrees celsius. */ -@property (strong) NSNumber<SDLFloat> *externalTemperature; +@property (nullable, strong, nonatomic) NSNumber<SDLFloat> *externalTemperature; /** * @abstract The Vehicle Identification Number */ -@property (strong) NSString *vin; +@property (nullable, strong, nonatomic) NSString *vin; /** * @abstract See PRNDL. */ -@property (strong) SDLPRNDL prndl; +@property (nullable, strong, nonatomic) SDLPRNDL prndl; /** * @abstract A SDLTireStatus* value. See TireStatus. */ -@property (strong) SDLTireStatus *tirePressure; +@property (nullable, strong, nonatomic) SDLTireStatus *tirePressure; /** * @abstract Odometer reading in km. */ -@property (strong) NSNumber<SDLInt> *odometer; +@property (nullable, strong, nonatomic) NSNumber<SDLInt> *odometer; /** * @abstract A SDLBeltStatus* value. The status of the seat belts. */ -@property (strong) SDLBeltStatus *beltStatus; +@property (nullable, strong, nonatomic) SDLBeltStatus *beltStatus; /** * @abstract A SDLBodyInformation* value. The body information including power modes. */ -@property (strong) SDLBodyInformation *bodyInformation; +@property (nullable, strong, nonatomic) SDLBodyInformation *bodyInformation; /** * @abstract A SDLDeviceStatus* value. The device status including signal and battery strength. */ -@property (strong) SDLDeviceStatus *deviceStatus; +@property (nullable, strong, nonatomic) SDLDeviceStatus *deviceStatus; /** * @abstract A SDLVehicleDataResult* value. The status of the brake pedal. */ -@property (strong) SDLVehicleDataEventStatus driverBraking; +@property (nullable, strong, nonatomic) SDLVehicleDataEventStatus driverBraking; /** * @abstract A SDLWiperStatus* value. The status of the wipers. */ -@property (strong) SDLWiperStatus wiperStatus; +@property (nullable, strong, nonatomic) SDLWiperStatus wiperStatus; /** * @abstract A SDLHeadLampStatus* value. Status of the head lamps. */ -@property (strong) SDLHeadLampStatus *headLampStatus; +@property (nullable, strong, nonatomic) SDLHeadLampStatus *headLampStatus; /** * @abstract Torque value for engine (in Nm) on non-diesel variants. */ -@property (strong) NSNumber<SDLFloat> *engineTorque; +@property (nullable, strong, nonatomic) NSNumber<SDLFloat> *engineTorque; /** * @abstract Accelerator pedal position (percentage depressed) */ -@property (strong) NSNumber<SDLFloat> *accPedalPosition; +@property (nullable, strong, nonatomic) NSNumber<SDLFloat> *accPedalPosition; /** * @abstract Current angle of the steering wheel (in deg) */ -@property (strong) NSNumber<SDLFloat> *steeringWheelAngle; -@property (strong) SDLECallInfo *eCallInfo; -@property (strong) SDLAirbagStatus *airbagStatus; -@property (strong) SDLEmergencyEvent *emergencyEvent; -@property (strong) SDLClusterModeStatus *clusterModeStatus; -@property (strong) SDLMyKey *myKey; +@property (nullable, strong, nonatomic) NSNumber<SDLFloat> *steeringWheelAngle; +@property (nullable, strong, nonatomic) SDLECallInfo *eCallInfo; +@property (nullable, strong, nonatomic) SDLAirbagStatus *airbagStatus; +@property (nullable, strong, nonatomic) SDLEmergencyEvent *emergencyEvent; +@property (nullable, strong, nonatomic) SDLClusterModeStatus *clusterModeStatus; +@property (nullable, strong, nonatomic) SDLMyKey *myKey; @end + +NS_ASSUME_NONNULL_END |