Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLBodyInformation

SDLBodyInformation Class Reference

Section Contents

Overview

Vehicle data body information containing information like the park brake status, the ignition status, gate and roof statuses, etc.

-initWithParkBrakeActive:ignitionStableStatus:ignitionStatus:

Objective-C

- (nonnull instancetype)
    initWithParkBrakeActive:(BOOL)parkBrakeActive
       ignitionStableStatus:
           (nonnull SDLIgnitionStableStatus)ignitionStableStatus
             ignitionStatus:(nonnull SDLIgnitionStatus)ignitionStatus;

Swift

init(parkBrakeActive: Bool, ignitionStableStatus: SDLIgnitionStableStatus, ignitionStatus: SDLIgnitionStatus)

Parameters

parkBrakeActive

- @(parkBrakeActive)

ignitionStableStatus

- ignitionStableStatus

ignitionStatus

- ignitionStatus

Return Value

A SDLBodyInformation object

-initWithParkBrakeActive:ignitionStableStatus:ignitionStatus:doorStatuses:gateStatuses:roofStatuses:

Objective-C

- (nonnull instancetype)
    initWithParkBrakeActive:(BOOL)parkBrakeActive
       ignitionStableStatus:
           (nonnull SDLIgnitionStableStatus)ignitionStableStatus
             ignitionStatus:(nonnull SDLIgnitionStatus)ignitionStatus
               doorStatuses:(nullable NSArray<SDLDoorStatus *> *)doorStatuses
               gateStatuses:(nullable NSArray<SDLGateStatus *> *)gateStatuses
               roofStatuses:(nullable NSArray<SDLRoofStatus *> *)roofStatuses;

Swift

init(parkBrakeActive: Bool, ignitionStableStatus: SDLIgnitionStableStatus, ignitionStatus: SDLIgnitionStatus, doorStatuses: [SDLDoorStatus]?, gateStatuses: [SDLGateStatus]?, roofStatuses: [SDLRoofStatus]?)

Parameters

parkBrakeActive

- @(parkBrakeActive)

ignitionStableStatus

- ignitionStableStatus

ignitionStatus

- ignitionStatus

doorStatuses

- doorStatuses

gateStatuses

- gateStatuses

roofStatuses

- roofStatuses

Return Value

A SDLBodyInformation object

parkBrakeActive

  • References signal “PrkBrkActv_B_Actl”.

Required

Objective-C

@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull parkBrakeActive;

Swift

var parkBrakeActive: NSNumber & SDLBool { get set }

ignitionStableStatus

  • References signal “Ignition_Switch_Stable”. See IgnitionStableStatus.

Required

Objective-C

@property (nonatomic, strong) SDLIgnitionStableStatus _Nonnull ignitionStableStatus;

Swift

var ignitionStableStatus: SDLIgnitionStableStatus { get set }

ignitionStatus

  • References signal “Ignition_status”. See IgnitionStatus.

Required

Objective-C

@property (nonatomic, strong) SDLIgnitionStatus _Nonnull ignitionStatus;

Swift

var ignitionStatus: SDLIgnitionStatus { get set }

driverDoorAjar

References signal “DrStatDrv_B_Actl”. Deprecated starting with RPC Spec 7.1.0.

@deprecated in SmartDeviceLink 7.1.0 @added in SmartDeviceLink 2.0.0

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *driverDoorAjar;

Swift

var driverDoorAjar: (NSNumber & SDLBool)? { get set }

passengerDoorAjar

References signal “DrStatPsngr_B_Actl”. Deprecated starting with RPC Spec 7.1.0.

@deprecated in SmartDeviceLink 7.1.0 @added in SmartDeviceLink 2.0.0

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *passengerDoorAjar;

Swift

var passengerDoorAjar: (NSNumber & SDLBool)? { get set }

rearLeftDoorAjar

References signal “DrStatRl_B_Actl”. Deprecated starting with RPC Spec 7.1.0.

@deprecated in SmartDeviceLink 7.1.0 @added in SmartDeviceLink 2.0.0

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *rearLeftDoorAjar;

Swift

var rearLeftDoorAjar: (NSNumber & SDLBool)? { get set }

rearRightDoorAjar

References signal “DrStatRr_B_Actl”. Deprecated starting with RPC Spec 7.1.0.

@deprecated in SmartDeviceLink 7.1.0 @added in SmartDeviceLink 2.0.0

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *rearRightDoorAjar;

Swift

var rearRightDoorAjar: (NSNumber & SDLBool)? { get set }

doorStatuses

Provides status for doors if Ajar/Closed/Locked {“array_min_size”: 0, “array_max_size”: 100}

@added in SmartDeviceLink 7.1.0

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLDoorStatus *> *doorStatuses;

Swift

var doorStatuses: [SDLDoorStatus]? { get set }

gateStatuses

Provides status for trunk/hood/etc. if Ajar/Closed/Locked {“array_min_size”: 0, “array_max_size”: 100}

@added in SmartDeviceLink 7.1.0

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLGateStatus *> *gateStatuses;

Swift

var gateStatuses: [SDLGateStatus]? { get set }

roofStatuses

Provides status for roof/convertible roof/sunroof/moonroof etc., if Closed/Ajar/Removed etc. {“array_min_size”: 0, “array_max_size”: 100}

@added in SmartDeviceLink 7.1.0

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLRoofStatus *> *roofStatuses;

Swift

var roofStatuses: [SDLRoofStatus]? { get set }
View on GitHub.com
Previous Section Next Section