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

SDLLightControlData Class Reference

Section Contents

Overview

Undocumented

-initWithLightStates:

Constructs a newly allocated SDLLightControlData object with lightState

Objective-C

- (nonnull instancetype)initWithLightStates:
    (nonnull NSArray<SDLLightState *> *)lightState;

Swift

init(lightStates lightState: [SDLLightState])

Parameters

lightState

An array of LightNames and their current or desired status

Return Value

An instance of the SDLLightControlData class

lightState

@abstract An array of LightNames and their current or desired status. Status of the LightNames that are not listed in the array shall remain unchanged.

Required, NSArray of type SDLLightState minsize=1 maxsize=100

Objective-C

@property (readwrite, strong, nonatomic)
    NSArray<SDLLightState *> *_Nonnull lightState;

Swift

var lightState: [SDLLightState] { get set }
View on GitHub.com
Previous Section Next Section