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 }