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
SDLDeleteFile

SDLDeleteFile Class Reference

Section Contents

Overview

Used to delete a file resident on the SDL module in the app’s local cache. Not supported on first generation SDL vehicles

Since SmartDeviceLink 2.0
see SDLPutFile SDLListFiles

-initWithFileName:

Convenience init to delete a file

Objective-C

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

Swift

init(fileName: String)

Parameters

fileName

A file reference name

Return Value

An SDLDeleteFile object

syncFileName

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

Objective-C

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

Swift

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