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
Convenience init to set template elements with the following parameters
- (nonnull instancetype)initWithMainField1:(nullable NSString *)mainField1
mainField2:(nullable NSString *)mainField2
alignment:(nullable SDLTextAlignment)alignment;
init(mainField1: String?, mainField2: String?, alignment: SDLTextAlignment?)
The text displayed on the first display line
The text displayed on the second display line
The alignment that specifies how the text should be aligned on display
An SDLShow object
Convenience init to set template elements with the following parameters
- (nonnull instancetype)
initWithMainField1:(nullable NSString *)mainField1
mainField1Type:(nullable SDLMetadataType)mainField1Type
mainField2:(nullable NSString *)mainField2
mainField2Type:(nullable SDLMetadataType)mainField2Type
alignment:(nullable SDLTextAlignment)alignment;
init(mainField1: String?, mainField1Type: SDLMetadataType?, mainField2: String?, mainField2Type: SDLMetadataType?, alignment: SDLTextAlignment?)
The text displayed on the first display line
Text field metadata types
The text displayed on the second display line
Text field metadata types
The alignment that specifies how the text should be aligned on display
An SDLShow object
Convenience init to set template elements with the following parameters
- (nonnull instancetype)initWithMainField1:(nullable NSString *)mainField1
mainField2:(nullable NSString *)mainField2
mainField3:(nullable NSString *)mainField3
mainField4:(nullable NSString *)mainField4
alignment:(nullable SDLTextAlignment)alignment;
init(mainField1: String?, mainField2: String?, mainField3: String?, mainField4: String?, alignment: SDLTextAlignment?)
The text displayed on the first display line
The text displayed on the second display line
The text displayed on the third display line
The text displayed on the fourth display line
The alignment that specifies how the text should be aligned on display
An SDLShow object
Convenience init to set template elements with the following parameters
- (nonnull 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;
init(mainField1: String?, mainField1Type: SDLMetadataType?, mainField2: String?, mainField2Type: SDLMetadataType?, mainField3: String?, mainField3Type: SDLMetadataType?, mainField4: String?, mainField4Type: SDLMetadataType?, alignment: SDLTextAlignment?)
The text displayed on the first display line
Text field metadata types
The text displayed on the second display line
Text field metadata types
The text displayed on the third display line
Text field metadata types
The text displayed on the fourth display line
Text field metadata types
The alignment that specifies how the text should be aligned on display
An SDLShow object
Convenience init to set template elements with the following parameters
- (nonnull 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;
init(mainField1: String?, mainField2: String?, alignment: SDLTextAlignment?, statusBar: String?, mediaClock: String?, mediaTrack: String?)
The text displayed on the first display line
The text displayed on the second display line
The alignment that specifies how the text should be aligned on display
Text in the status Bar
The value for the mediaClock field
The text in the track field
An SDLShow object
Convenience init to set template elements with the following parameters
- (nonnull 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<SDLSoftButton *> *)softButtons
customPresets:(nullable NSArray<NSString *> *)customPresets
textFieldMetadata:(nullable SDLMetadataTags *)metadata;
init(mainField1: String?, mainField2: String?, mainField3: String?, mainField4: String?, alignment: SDLTextAlignment?, statusBar: String?, mediaClock: String?, mediaTrack: String?, graphic: SDLImage?, softButtons: [SDLSoftButton]?, customPresets: [String]?, textFieldMetadata metadata: SDLMetadataTags?)
The text displayed on the first display line
The text displayed on the second display line
The text displayed on the third display line
The text displayed on the fourth display line
The alignment that specifies how the text should be aligned on display
Text in the status bar
The value for the mediaClock field
The text in the track field
An image to be shown on supported displays
The the Soft buttons defined by the app
The custom presets defined by the App
Text field metadata
An SDLShow object
- (nonnull 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
mediaTrack:(nullable NSString *)mediaTrack
graphic:(nullable SDLImage *)graphic
secondaryGraphic:(nullable SDLImage *)secondaryGraphic
softButtons:(nullable NSArray<SDLSoftButton *> *)softButtons
customPresets:(nullable NSArray<NSString *> *)customPresets
metadataTags:(nullable SDLMetadataTags *)metadataTags
templateTitle:(nullable NSString *)templateTitle
windowID:(nullable NSNumber<SDLInt> *)windowID
templateConfiguration:
(nullable SDLTemplateConfiguration *)templateConfiguration;
init(mainField1: String?, mainField2: String?, mainField3: String?, mainField4: String?, alignment: SDLTextAlignment?, statusBar: String?, mediaTrack: String?, graphic: SDLImage?, secondaryGraphic: SDLImage?, softButtons: [SDLSoftButton]?, customPresets: [String]?, metadataTags: SDLMetadataTags?, templateTitle: String?, windowID: (NSNumber & SDLInt)?, templateConfiguration: SDLTemplateConfiguration?)
- mainField1
- mainField2
- mainField3
- mainField4
- alignment
- statusBar
- mediaTrack
- graphic
- secondaryGraphic
- softButtons
- customPresets
- metadataTags
- templateTitle
- windowID
- templateConfiguration
A SDLShow object
The text displayed in a single-line display, or in the upper display line in a two-line display @discussion The String value representing the text displayed in a single-line display, or in the upper display line in a two-line display
Notes:
@property (nonatomic, strong, nullable) NSString *mainField1;
var mainField1: String? { get set }
The text displayed on the second display line of a two-line display
@discussion The String value representing the text displayed on the second display line of a two-line display
Notes:
@property (nonatomic, strong, nullable) NSString *mainField2;
var mainField2: String? { get set }
The text displayed on the first display line of the second page
@discussion The String value representing the text displayed on the first display line of the second page
Notes:
@property (nonatomic, strong, nullable) NSString *mainField3;
var mainField3: String? { get set }
The text displayed on the second display line of the second page
@discussion The String value representing the text displayed on the second display line of the second page
Notes:
@property (nonatomic, strong, nullable) NSString *mainField4;
var mainField4: String? { get set }
The alignment that Specifies how mainField1 and mainField2 text should be aligned on display
@discussion An Enumeration value
Notes:
@property (nonatomic, strong, nullable) SDLTextAlignment alignment;
var alignment: SDLTextAlignment? { get set }
Text in the Status Bar
@discussion A String representing the text you want to add in the Status Bar
Notes: The status bar only exists on navigation
displays
@property (nonatomic, strong, nullable) NSString *statusBar;
var statusBar: String? { get set }
Text value for MediaClock field. Has to be properly formatted by Mobile App according to the module’s capabilities. If this text is set, any automatic media clock updates previously set with SetMediaClockTimer will be stopped. {“string_min_length”: 0, “string_max_length”: 500}
@deprecated in SmartDeviceLink 7.1.0 @added in SmartDeviceLink 1.0.0
@property (nonatomic, strong, nullable) NSString *mediaClock;
var mediaClock: String? { get set }
The text in the track field
@discussion A String value disaplayed in the track field
Notes:
@property (nonatomic, strong, nullable) NSString *mediaTrack;
var mediaTrack: String? { get set }
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 (nonatomic, strong, nullable) SDLImage *graphic;
var graphic: SDLImage? { get set }
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 (nonatomic, strong, nullable) SDLImage *secondaryGraphic;
var secondaryGraphic: SDLImage? { get set }
The the Soft buttons defined by the App
@discussion A Vector value represemting the Soft buttons defined by the App
Notes:
@since SmartDeviceLink 2.0
@property (nonatomic, strong, nullable) NSArray<SDLSoftButton *> *softButtons;
var softButtons: [SDLSoftButton]? { get set }
The Custom Presets defined by the App
@discussion A Vector value representing the Custom Presets defined by the App
@property (nonatomic, strong, nullable) NSArray<NSString *> *customPresets;
var customPresets: [String]? { get set }
Text Field Metadata
App defined metadata information. See MetadataStruct. Uses mainField1, mainField2, mainField3, mainField4. If omitted on supported displays, the currently set metadata tags will not change. If any text field contains no tags or the none tag, the metadata tag for that textfield should be removed.
@since SmartDeviceLink 2.0
@property (nonatomic, strong, nullable) SDLMetadataTags *metadataTags;
var metadataTags: SDLMetadataTags? { get set }
This is the unique ID assigned to the window that this RPC is intended. If this param is not included, it will be assumed that this request is specifically for the main window on the main display. - see: PredefinedWindows enum.
@since SDL 6.0
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *windowID;
var windowID: (NSNumber & SDLUInt)? { get set }
Used to set an alternate template layout to a window.
@since SDL 6.0
@property (nonatomic, strong, nullable) SDLTemplateConfiguration *templateConfiguration;
var templateConfiguration: SDLTemplateConfiguration? { get set }
The title of the current template.
How this will be displayed is dependent on the OEM design and implementation of the template.
Optional, since SmartDeviceLink 6.0
@property (nonatomic, strong, nullable) NSString *templateTitle;
var templateTitle: String? { get set }