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
SDLSystemInfo

SDLSystemInfo Class Reference

Section Contents

Overview

Undocumented

vehicleType

The connected module’s vehicle type: it’s make, model, trim, and model year

Objective-C

@property (nonatomic, strong, readonly, nullable) SDLVehicleType *vehicleType;

Swift

var vehicleType: SDLVehicleType? { get }

systemSoftwareVersion

The connected module’s software version

Objective-C

@property (nonatomic, strong, readonly, nullable) NSString *systemSoftwareVersion;

Swift

var systemSoftwareVersion: String? { get }

systemHardwareVersion

The connected module’s hardware version

Objective-C

@property (nonatomic, strong, readonly, nullable) NSString *systemHardwareVersion;

Swift

var systemHardwareVersion: String? { get }

-initWithMake:model:trim:modelYear:softwareVersion:hardwareVersion:

Initialize a system info object with individual pieces

Objective-C

- (nonnull instancetype)initWithMake:(nullable NSString *)make
                               model:(nullable NSString *)model
                                trim:(nullable NSString *)trim
                           modelYear:(nullable NSString *)modelYear
                     softwareVersion:(nullable NSString *)softwareVersion
                     hardwareVersion:(nullable NSString *)hardwareVersion;

Swift

init(make: String?, model: String?, trim: String?, modelYear: String?, softwareVersion: String?, hardwareVersion: String?)

Parameters

make

The vehicle’s make

model

The vehicle’s model

trim

The vehicle’s trim

modelYear

The vehicle’s model year

softwareVersion

The vehicle’s software version

hardwareVersion

The vehicle’s hardware version

-initWithVehicleType:softwareVersion:hardwareVersion:

Initialize a system info object with the vehicle type and versions

Objective-C

- (nonnull instancetype)
    initWithVehicleType:(nullable SDLVehicleType *)vehicleType
        softwareVersion:(nullable NSString *)softwareVersion
        hardwareVersion:(nullable NSString *)hardwareVersion;

Swift

init(vehicleType: SDLVehicleType?, softwareVersion: String?, hardwareVersion: String?)

Parameters

vehicleType

The vehicle information

softwareVersion

The vehicle’s software version

hardwareVersion

The vehicle’s hardware version

View on GitHub.com
Previous Section Next Section