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
SDLVehicleType

SDLVehicleType Class Reference

Section Contents

Overview

Describes the type of vehicle the mobile phone is connected with.

@since SDL 2.0

make

The make of the vehicle

For example, “Ford”, “Lincoln”, etc.

Optional, Max String length 500 chars

Objective-C

@property (nonatomic, strong, nullable) NSString *make;

Swift

var make: String? { get set }

model

The model of the vehicle

For example, “Fiesta”, “Focus”, etc.

Optional, Max String length 500 chars

Objective-C

@property (nonatomic, strong, nullable) NSString *model;

Swift

var model: String? { get set }

modelYear

The model year of the vehicle

For example, “2013”

Optional, Max String length 500 chars

Objective-C

@property (nonatomic, strong, nullable) NSString *modelYear;

Swift

var modelYear: String? { get set }

trim

The trim of the vehicle

For example, “SE”, “SEL”

Optional, Max String length 500 chars

Objective-C

@property (nonatomic, strong, nullable) NSString *trim;

Swift

var trim: String? { get set }

-initWithMake:model:modelYear:trim:

Initialize the object

Objective-C

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

Swift

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

Parameters

make

- make

model

- model

modelYear

- modelYear

trim

- trim

Return Value

A SDLVehicleType object

View on GitHub.com
Previous Section Next Section