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
SDLKeyboardLayoutCapability

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 }
View on GitHub.com
Previous Section Next Section