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

SDLButtonCapabilities Class Reference

Section Contents

Overview

Provides information about the capabilities of a SDL HMI button.

@since SDL 1.0

name

  • The name of the SDL HMI button.

Required

Objective-C

@property (nonatomic, strong) SDLButtonName _Nonnull name;

Swift

var name: SDLButtonName { get set }

shortPressAvailable

A NSNumber value indicates whether the button supports a SHORT press

Required, Boolean

Objective-C

@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull shortPressAvailable;

Swift

var shortPressAvailable: NSNumber & SDLBool { get set }

longPressAvailable

A NSNumber value indicates whether the button supports a LONG press

Required, Boolean

Objective-C

@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull longPressAvailable;

Swift

var longPressAvailable: NSNumber & SDLBool { get set }

upDownAvailable

A NSNumber value indicates whether the button supports “button down” and “button up”

Required, Boolean

Objective-C

@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull upDownAvailable;

Swift

var upDownAvailable: NSNumber & SDLBool { get set }

moduleInfo

Information about a RC module, including its id.

Optional

Objective-C

@property (nonatomic, strong, nullable) SDLModuleInfo *moduleInfo;

Swift

var moduleInfo: SDLModuleInfo? { get set }
View on GitHub.com
Previous Section Next Section