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

SDLWindowTypeCapabilities Class Reference

Section Contents

Overview

Used to inform an app how many window instances per type that can be created.

@since SDL 6.0

-initWithType:maximumNumberOfWindows:

Init with required parameters

Objective-C

- (nonnull instancetype)initWithType:(nonnull SDLWindowType)type
              maximumNumberOfWindows:(UInt32)maximumNumberOfWindows;

Swift

init(type: SDLWindowType, maximumNumberOfWindows: UInt32)

Parameters

type

Type of windows available, to create.

maximumNumberOfWindows

Number of windows available, to create.

type

Type of windows available, to create.

Required

Objective-C

@property (readwrite, strong, nonatomic) SDLWindowType _Nonnull type;

Swift

var type: SDLWindowType { get set }

maximumNumberOfWindows

Number of windows available, to create.

Required

Objective-C

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

Swift

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