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 (readwrite, strong, nonatomic)
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 (readwrite, strong, nonatomic)
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 (readwrite, strong, nonatomic)
NSNumber<SDLBool> *_Nonnull upDownAvailable;
var upDownAvailable: NSNumber & SDLBool { get set }
The button supports referencing a static or dynamic image.
Required, Boolean
@property (readwrite, strong, nonatomic)
NSNumber<SDLBool> *_Nonnull imageSupported;
var imageSupported: NSNumber & SDLBool { get set }