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

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 (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic)
    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 (readwrite, strong, nonatomic)
    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 (readwrite, strong, nonatomic)
    NSNumber<SDLBool> *_Nonnull upDownAvailable;

Swift

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