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

SDLWindowCapability Class Reference

Section Contents

Overview

Reflects content of DisplayCapabilities, ButtonCapabilities and SoftButtonCapabilities

@since SDL 6.0

windowID

The specified ID of the window. Can be set to a predefined window, or omitted for the main window on the main display.

Size: min 1 max 100

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLUInt> *windowID;

Swift

var windowID: (NSNumber & SDLUInt)? { get set }

textFields

A set of all fields that support text data. - see: TextField

Size: min 1 max 100

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<SDLTextField *> *textFields;

Swift

var textFields: [SDLTextField]? { get set }

imageFields

A set of all fields that support images. - see: ImageField

Size: min 0 max 1000

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<SDLImageField *> *imageFields;

Swift

var imageFields: [SDLImageField]? { get set }

imageTypeSupported

Provides information about image types supported by the system.

Size: min 0 max 1000

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<SDLImageType> *imageTypeSupported;

Swift

var imageTypeSupported: [SDLImageType]? { get set }

templatesAvailable

A set of all window templates available on the head unit.

Size: min 0 max 100

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<NSString *> *templatesAvailable;

Swift

var templatesAvailable: [String]? { get set }

numCustomPresetsAvailable

The number of on-window custom presets available (if any); otherwise omitted.

Size: min 1 max 100

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLInt> *numCustomPresetsAvailable;

Swift

var numCustomPresetsAvailable: (NSNumber & SDLInt)? { get set }

buttonCapabilities

The number of buttons and the capabilities of each on-window button.

Size: min 1 max 100

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<SDLButtonCapabilities *> *buttonCapabilities;

Swift

var buttonCapabilities: [SDLButtonCapabilities]? { get set }

softButtonCapabilities

The number of soft buttons available on-window and the capabilities for each button.

Size: min 1 max 100

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<SDLSoftButtonCapabilities *> *softButtonCapabilities;

Swift

var softButtonCapabilities: [SDLSoftButtonCapabilities]? { get set }

menuLayoutsAvailable

An array of available menu layouts. If this parameter is not provided, only the LIST layout is assumed to be available.

Optional, array of 1 to 100, see SDLMenuLayout

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<SDLMenuLayout> *menuLayoutsAvailable;

Swift

var menuLayoutsAvailable: [SDLMenuLayout]? { get set }
View on GitHub.com
Previous Section Next Section