SDLKeyboardCapabilities Class Reference

Section Contents

Overview

@added in SmartDeviceLink 7.1.0

-initWithMaskInputCharactersSupported:supportedKeyboards:

Objective-C

- (nonnull instancetype)
    initWithMaskInputCharactersSupported:
        (nullable NSNumber<SDLBool> *)maskInputCharactersSupported
                      supportedKeyboards:
                          (nullable NSArray<SDLKeyboardLayoutCapability *> *)
                              supportedKeyboards;

Swift

init(maskInputCharactersSupported: (NSNumber & SDLBool)?, supportedKeyboards: [SDLKeyboardLayoutCapability]?)

Parameters

maskInputCharactersSupported

- maskInputCharactersSupported

supportedKeyboards

- supportedKeyboards

Return Value

A SDLKeyboardCapabilities object

maskInputCharactersSupported

Availability of capability to mask input characters using keyboard. True: Available, False: Not Available

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLBool> *maskInputCharactersSupported;

Swift

var maskInputCharactersSupported: (NSNumber & SDLBool)? { get set }

supportedKeyboards

Capabilities of supported keyboard layouts by HMI. {“array_min_size”: 1, “array_max_size”: 1000}

Objective-C

@property (nonatomic, strong, nullable) NSArray<SDLKeyboardLayoutCapability *> *supportedKeyboards;

Swift

var supportedKeyboards: [SDLKeyboardLayoutCapability]? { get set }