Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLTextField Class Reference

Section Contents

Overview

Struct defining the characteristics of a displayed field on the HMI.

@since SDL 1.0

name

The enumeration identifying the field.

See

SDLTextFieldName

Required

Objective-C

@property (readwrite, strong, nonatomic) SDLTextFieldName _Nonnull name;

Swift

var name: SDLTextFieldName { get set }

characterSet

The character set that is supported in this field.

See

SDLCharacterSet

Required

Objective-C

@property (readwrite, strong, nonatomic) SDLCharacterSet _Nonnull characterSet;

Swift

var characterSet: SDLCharacterSet { get set }

width

The number of characters in one row of this field.

Required, Integer 1 - 500

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLInt> *_Nonnull width;

Swift

var width: NSNumber & SDLInt { get set }

rows

The number of rows for this text field.

Required, Integer 1 - 8

Objective-C

@property (readwrite, strong, nonatomic) NSNumber<SDLInt> *_Nonnull rows;

Swift

var rows: NSNumber & SDLInt { get set }
View on GitHub.com
Previous Section Next Section