// SDLShow.h // #import "SDLRPCRequest.h" #import "SDLTextAlignment.h" #import "SDLMetadataType.h" @class SDLImage; @class SDLSoftButton; @class SDLMetadataTags; @class SDLTemplateConfiguration; /** * Updates the application's display text area, regardless of whether or not * this text area is visible to the user at the time of the request. The * application's display text area remains unchanged until updated by subsequent * calls to Show *
* The content of the application's display text area is visible to the user * when the application * is FULL or LIMITED, and the * SDLSystemContext=MAIN and no * SDLAlert is in progress *
* The Show operation cannot be used to create an animated scrolling screen. To * avoid distracting the driver, Show commands cannot be issued more than once * every 4 seconds. Requests made more frequently than this will be rejected *
* HMILevel needs to be FULL, LIMITED or BACKGROUND *
* * Since SmartDeviceLink 1.0 * See SDLAlert SDLSetMediaClockTimer */ NS_ASSUME_NONNULL_BEGIN @interface SDLShow : SDLRPCRequest /// Convenience init to set template elements with the following parameters /// /// @param mainField1 The text displayed on the first display line /// @param mainField2 The text displayed on the second display line /// @param alignment The alignment that specifies how the text should be aligned on display /// @return An SDLShow object - (instancetype)initWithMainField1:(nullable NSString *)mainField1 mainField2:(nullable NSString *)mainField2 alignment:(nullable SDLTextAlignment)alignment __deprecated_msg("Use initWithMainField1:mainField2:mainField3:mainField4:alignment:statusBar:mediaTrack:graphic:secondaryGraphic:softButtons:customPresets:metadataTags:templateTitle:windowID:templateConfiguration: instead"); /// Convenience init to set template elements with the following parameters /// /// @param mainField1 The text displayed on the first display line /// @param mainField1Type Text field metadata types /// @param mainField2 The text displayed on the second display line /// @param mainField2Type Text field metadata types /// @param alignment The alignment that specifies how the text should be aligned on display /// @return An SDLShow object - (instancetype)initWithMainField1:(nullable NSString *)mainField1 mainField1Type:(nullable SDLMetadataType)mainField1Type mainField2:(nullable NSString *)mainField2 mainField2Type:(nullable SDLMetadataType)mainField2Type alignment:(nullable SDLTextAlignment)alignment __deprecated_msg("Use initWithMainField1:mainField2:mainField3:mainField4:alignment:statusBar:mediaTrack:graphic:secondaryGraphic:softButtons:customPresets:metadataTags:templateTitle:windowID:templateConfiguration: instead"); /// Convenience init to set template elements with the following parameters /// /// @param mainField1 The text displayed on the first display line /// @param mainField2 The text displayed on the second display line /// @param mainField3 The text displayed on the third display line /// @param mainField4 The text displayed on the fourth display line /// @param alignment The alignment that specifies how the text should be aligned on display /// @return An SDLShow object - (instancetype)initWithMainField1:(nullable NSString *)mainField1 mainField2:(nullable NSString *)mainField2 mainField3:(nullable NSString *)mainField3 mainField4:(nullable NSString *)mainField4 alignment:(nullable SDLTextAlignment)alignment __deprecated_msg("Use initWithMainField1:mainField2:mainField3:mainField4:alignment:statusBar:mediaTrack:graphic:secondaryGraphic:softButtons:customPresets:metadataTags:templateTitle:windowID:templateConfiguration: instead"); /// Convenience init to set template elements with the following parameters /// /// @param mainField1 The text displayed on the first display line /// @param mainField1Type Text field metadata types /// @param mainField2 The text displayed on the second display line /// @param mainField2Type Text field metadata types /// @param mainField3 The text displayed on the third display line /// @param mainField3Type Text field metadata types /// @param mainField4 The text displayed on the fourth display line /// @param mainField4Type Text field metadata types /// @param alignment The alignment that specifies how the text should be aligned on display /// @return An SDLShow object - (instancetype)initWithMainField1:(nullable NSString *)mainField1 mainField1Type:(nullable SDLMetadataType)mainField1Type mainField2:(nullable NSString *)mainField2 mainField2Type:(nullable SDLMetadataType)mainField2Type mainField3:(nullable NSString *)mainField3 mainField3Type:(nullable SDLMetadataType)mainField3Type mainField4:(nullable NSString *)mainField4 mainField4Type:(nullable SDLMetadataType)mainField4Type alignment:(nullable SDLTextAlignment)alignment __deprecated_msg("Use initWithMainField1:mainField2:mainField3:mainField4:alignment:statusBar:mediaTrack:graphic:secondaryGraphic:softButtons:customPresets:metadataTags:templateTitle:windowID:templateConfiguration: instead"); /// Convenience init to set template elements with the following parameters /// /// @param mainField1 The text displayed on the first display line /// @param mainField2 The text displayed on the second display line /// @param alignment The alignment that specifies how the text should be aligned on display /// @param statusBar Text in the status Bar /// @param mediaClock The value for the mediaClock field /// @param mediaTrack The text in the track field /// @return An SDLShow object - (instancetype)initWithMainField1:(nullable NSString *)mainField1 mainField2:(nullable NSString *)mainField2 alignment:(nullable SDLTextAlignment)alignment statusBar:(nullable NSString *)statusBar mediaClock:(nullable NSString *)mediaClock mediaTrack:(nullable NSString *)mediaTrack __deprecated_msg("Use initWithMainField1:mainField2:mainField3:mainField4:alignment:statusBar:mediaTrack:graphic:secondaryGraphic:softButtons:customPresets:metadataTags:templateTitle:windowID:templateConfiguration: instead"); /// Convenience init to set template elements with the following parameters /// /// @param mainField1 The text displayed on the first display line /// @param mainField2 The text displayed on the second display line /// @param mainField3 The text displayed on the third display line /// @param mainField4 The text displayed on the fourth display line /// @param alignment The alignment that specifies how the text should be aligned on display /// @param statusBar Text in the status bar /// @param mediaClock The value for the mediaClock field /// @param mediaTrack The text in the track field /// @param graphic An image to be shown on supported displays /// @param softButtons The the Soft buttons defined by the app /// @param customPresets The custom presets defined by the App /// @param metadata Text field metadata /// @return An SDLShow object - (instancetype)initWithMainField1:(nullable NSString *)mainField1 mainField2:(nullable NSString *)mainField2 mainField3:(nullable NSString *)mainField3 mainField4:(nullable NSString *)mainField4 alignment:(nullable SDLTextAlignment)alignment statusBar:(nullable NSString *)statusBar mediaClock:(nullable NSString *)mediaClock mediaTrack:(nullable NSString *)mediaTrack graphic:(nullable SDLImage *)graphic softButtons:(nullable NSArray* Notes: *
* Notes: *
* Notes: *
* Notes: *
* Notes: *
* Notes: The status bar only exists on navigation
* displays
*
* Notes:
*
* Notes: If omitted on supported displays, the displayed
* graphic shall not change
* @since SmartDeviceLink 2.0
*/
@property (strong, nonatomic, nullable) SDLImage *graphic;
/**
* An image to be shown on supported displays
*
* @discussion The value representing the image shown on supported displays
*
* Notes: If omitted on supported displays, the displayed
* graphic shall not change
* @since SmartDeviceLink 2.0
*/
@property (strong, nonatomic, nullable) SDLImage *secondaryGraphic;
/**
* The the Soft buttons defined by the App
*
* @discussion A Vector value represemting the Soft buttons defined by the
* App
*
* Notes:
*
*