SDLKeyboardLayoutCapability Class Reference

Section Contents

Overview

Describes the capabilities of a single keyboard layout.

@added in SmartDeviceLink 7.1.0

-initWithKeyboardLayout:numConfigurableKeys:

Objective-C

- (nonnull instancetype)initWithKeyboardLayout:
                            (nonnull SDLKeyboardLayout)keyboardLayout
                           numConfigurableKeys:(UInt8)numConfigurableKeys;

Swift

init(keyboardLayout: SDLKeyboardLayout, numConfigurableKeys: UInt8)

Parameters

keyboardLayout

- keyboardLayout

numConfigurableKeys

- @(numConfigurableKeys)

Return Value

A SDLKeyboardLayoutCapability object

keyboardLayout

The keyboard layout of this capability

Objective-C

@property (nonatomic, strong) SDLKeyboardLayout _Nonnull keyboardLayout;

Swift

var keyboardLayout: SDLKeyboardLayout { get set }

numConfigurableKeys

Number of keys available for special characters, App can customize as per their needs. {“num_min_value”: 0, “num_max_value”: 10}

Objective-C

@property (nonatomic, strong) NSNumber<SDLUInt> *_Nonnull numConfigurableKeys;

Swift

var numConfigurableKeys: NSNumber & SDLUInt { get set }