// SDLDisplayCapabilities.h // #import "SDLRPCMessage.h" #import "SDLDisplayType.h" #import "SDLMediaClockFormat.h" @class SDLImageField; @class SDLScreenParams; @class SDLTextField; /** * Contains information about the display for the SDL system to which the application is currently connected. * * @since SDL 1.0 */ NS_ASSUME_NONNULL_BEGIN __deprecated_msg("Use SDLSystemCapabilityManager.defaultMainWindowCapability instead") @interface SDLDisplayCapabilities : SDLRPCStruct /** * The type of display * * Required */ @property (strong, nonatomic) SDLDisplayType displayType __deprecated_msg("See `displayName` instead"); /** The name of the connected display Optional */ @property (strong, nonatomic, nullable) NSString *displayName; /** * An array of SDLTextField structures, each of which describes a field in the HMI which the application can write to using operations such as *SDLShow*, *SDLSetMediaClockTimer*, etc. * * @discussion This array of SDLTextField structures identify all the text fields to which the application can write on the current display (identified by SDLDisplayType). * * @see SDLTextField * * Required, Array of SDLTextField, 1 - 100 objects */ @property (strong, nonatomic) NSArray *textFields; /** * An array of SDLImageField elements * * @discussion A set of all fields that support images. * * @see SDLImageField * * Optional, Array of SDLImageField, 1 - 100 objects */ @property (nullable, strong, nonatomic) NSArray *imageFields; /** * An array of SDLMediaClockFormat elements, defining the valid string formats used in specifying the contents of the media clock field * * @see SDLMediaClockFormat * * Required, Array of SDLMediaClockFormats, 0 - 100 objects */ @property (strong, nonatomic) NSArray *mediaClockFormats; /** * The display's persistent screen supports. * * @since SDL 2.0 * * Required, Boolean */ @property (strong, nonatomic) NSNumber *graphicSupported; /** * An array of all predefined persistent display templates available on the head unit. * * Optional, Array of String, max string size 100, 0 - 100 objects, since SDL 3.0 * * See SDLPredefinedLayout */ @property (nullable, strong, nonatomic) NSArray *templatesAvailable; /** * A set of all parameters related to a prescribed screen area (e.g. for video / touch input) * * Optional */ @property (nullable, strong, nonatomic) SDLScreenParams *screenParams; /** * The number of on-screen custom presets available (if any); otherwise omitted * * Optional, Integer 1 - 100 */ @property (nullable, strong, nonatomic) NSNumber *numCustomPresetsAvailable; @end NS_ASSUME_NONNULL_END