Contains information about a SoftButton’s capabilities.
@since SDL 2.0
The button supports a short press.
Whenever the button is pressed short, onButtonPressed(SHORT) will be invoked.
Required, Boolean
@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull shortPressAvailable;
var shortPressAvailable: NSNumber & SDLBool { get set }
The button supports a LONG press.
Whenever the button is pressed long, onButtonPressed(LONG) will be invoked.
Required, Boolean
@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull longPressAvailable;
var longPressAvailable: NSNumber & SDLBool { get set }
The button supports “button down” and “button up”.
Whenever the button is pressed, onButtonEvent(DOWN) will be invoked. Whenever the button is released, onButtonEvent(UP) will be invoked.
Required, Boolean
@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull upDownAvailable;
var upDownAvailable: NSNumber & SDLBool { get set }
The button supports referencing a static or dynamic image.
Required, Boolean
@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull imageSupported;
var imageSupported: NSNumber & SDLBool { get set }
The button supports the use of text. If not included, the default value should be considered true that the button will support text.
Optional, Boolean
@since SDL 6.0
@property (nonatomic, strong, nullable) NSNumber<SDLBool> *textSupported;
var textSupported: (NSNumber & SDLBool)? { get set }