Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

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 (readwrite, strong, nonatomic) NSString *_Nonnull syncFileName;

Swift

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