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
SDLGearStatus

SDLGearStatus Class Reference

Section Contents

Overview

@since SDL 7.0.0

-initWithUserSelectedGear:actualGear:transmissionType:

Convenience initializer to assign all object properties

Objective-C

- (nonnull instancetype)
    initWithUserSelectedGear:(nullable SDLPRNDL)userSelectedGear
                  actualGear:(nullable SDLPRNDL)actualGear
            transmissionType:(nullable SDLTransmissionType)transmissionType;

Swift

init(userSelectedGear: SDLPRNDL?, actualGear: SDLPRNDL?, transmissionType: SDLTransmissionType?)

Parameters

userSelectedGear

- userSelectedGear

actualGear

- actualGear

transmissionType

- transmissionType

Return Value

A SDLGearStatus object

userSelectedGear

Gear position selected by the user i.e. Park, Drive, Reverse

Objective-C

@property (nonatomic, strong, nullable) SDLPRNDL userSelectedGear;

Swift

var userSelectedGear: SDLPRNDL? { get set }

actualGear

Actual Gear in use by the transmission

Objective-C

@property (nonatomic, strong, nullable) SDLPRNDL actualGear;

Swift

var actualGear: SDLPRNDL? { get set }

transmissionType

Tells the transmission type

Objective-C

@property (nonatomic, strong, nullable) SDLTransmissionType transmissionType;

Swift

var transmissionType: SDLTransmissionType? { get set }
View on GitHub.com
Previous Section Next Section