SDLShow Class Reference

Section Contents

Overview

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

-init

@abstract Constructs a new SDLShow object

Objective-C

- (instancetype)init;

Swift

init!()

-initWithDictionary:

@abstract Constructs a new SDLShow object indicated by the dictionary parameter - parameter: dict The dictionary to use

Objective-C

- (instancetype)initWithDictionary:(NSMutableDictionary *)dict;

Swift

init!(dictionary dict: NSMutableDictionary!)

Parameters

dict

The dictionary to use

-initWithMainField1:mainField2:alignment:

Undocumented

Objective-C

@interface SDLShow : SDLRPCRequest

-initWithMainField1:mainField2:mainField3:mainField4:alignment:

Undocumented

Objective-C

@interface SDLShow : SDLRPCRequest

-initWithMainField1:mainField2:alignment:statusBar:mediaClock:mediaTrack:

Undocumented

Objective-C

@interface SDLShow : SDLRPCRequest

-initWithMainField1:mainField2:mainField3:mainField4:alignment:statusBar:mediaClock:mediaTrack:graphic:softButtons:customPresets:

Undocumented

Objective-C

@interface SDLShow : SDLRPCRequest

mainField1

@abstract 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:

Objective-C

@property (readwrite, strong, atomic) NSString *mainField1;

Swift

var mainField1: String! { get set }

mainField2

@abstract 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:

Objective-C

@property (readwrite, strong, atomic) NSString *mainField2;

Swift

var mainField2: String! { get set }

mainField3

@abstract 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:

@since SmartDeviceLink 2.0

Objective-C

@property (readwrite, strong, atomic) NSString *mainField3;

Swift

var mainField3: String! { get set }

mainField4

@abstract 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:

@since SmartDeviceLink 2.0

Objective-C

@property (readwrite, strong, atomic) NSString *mainField4;

Swift

var mainField4: String! { get set }

alignment

@abstract The alignment that Specifies how mainField1 and mainField2 text should be aligned on display

@discussion An Enumeration value

Notes:

Objective-C

@property (readwrite, strong, atomic) SDLTextAlignment *alignment;

Swift

var alignment: SDLTextAlignment! { get set }

statusBar

@abstract 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

Objective-C

@property (readwrite, strong, atomic) NSString *statusBar;

Swift

var statusBar: String! { get set }

mediaClock

@abstract This property is deprecated use SetMediaClockTimer instead.

The value for the MediaClock field using a format described in the MediaClockFormat enumeration

@discussion A String value for the MediaClock

Notes:

Objective-C

@property (readwrite, strong, atomic) NSString *mediaClock;

Swift

var mediaClock: String! { get set }

mediaTrack

@abstract The text in the track field

@discussion A String value disaplayed in the track field

Notes:

Objective-C

@property (readwrite, strong, atomic) NSString *mediaTrack;

Swift

var mediaTrack: String! { get set }

graphic

@abstract 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

Objective-C

@property (readwrite, strong, atomic) SDLImage *graphic;

Swift

var graphic: SDLImage! { get set }

secondaryGraphic

@abstract 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

Objective-C

@property (readwrite, strong, atomic) SDLImage *secondaryGraphic;

Swift

var secondaryGraphic: SDLImage! { get set }

softButtons

@abstract 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

Objective-C

@property (readwrite, strong, atomic) NSMutableArray *softButtons;

Swift

var softButtons: NSMutableArray! { get set }

customPresets

@abstract The Custom Presets defined by the App

@discussion A Vector value representing the Custom Presets defined by the App

@since SmartDeviceLink 2.0

Objective-C

@property (readwrite, strong, atomic) NSMutableArray *customPresets;

Swift

var customPresets: NSMutableArray! { get set }