Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLSetAppIcon

SDLSetAppIcon Class Reference

Section Contents

Overview

Used to set existing local file on SDL as the app’s icon. Not supported on first generation SDL modules.

Since SmartDeviceLink 2.0

-initWithFileName:

Convenience init to set an image icon from a file name. The file must already be uploaded to the head unit.

Objective-C

- (nonnull instancetype)initWithFileName:(nonnull NSString *)fileName;

Swift

init(fileName: String)

Parameters

fileName

A file reference name

Return Value

An SDLSetAppIcon object

syncFileName

A file reference name @discussion A String value representing a file reference name

Notes: Maxlength=500

Objective-C

@property (nonatomic, strong) NSString *_Nonnull syncFileName;

Swift

var syncFileName: String { get set }
View on GitHub.com
Previous Section Next Section