// SDLImage.h // #import "SDLRPCMessage.h" #import "SDLImageType.h" /** *Specifies, which image shall be used, e.g. in SDLAlerts or on SDLSoftbuttons provided the display supports it. * * @since SDL 2.0 */ NS_ASSUME_NONNULL_BEGIN @interface SDLImage : SDLRPCStruct - (instancetype)initWithName:(NSString *)name ofType:(SDLImageType)imageType; - (instancetype)initWithName:(NSString *)name; - (instancetype)initWithStaticImageValue:(UInt16)staticImageValue; /** * @abstract The static hex icon value or the binary image file name identifier (sent by SDLPutFile) * * Required, max length = 65535 */ @property (strong, nonatomic) NSString *value; /** * @abstract Describes whether the image is static or dynamic * * Required */ @property (strong, nonatomic) SDLImageType imageType; @end NS_ASSUME_NONNULL_END