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
Documentation
SDLFileManagerError

SDLFileManagerError Enumeration Reference

Section Contents

Overview

Errors associated with the SDLFileManager class.

SDLFileManagerErrorCannotOverwrite

A file attempted to send, but a file with that name already exists on the remote head unit, and the file was not configured to overwrite.

Objective-C

SDLFileManagerErrorCannotOverwrite = -1

Swift

case errorCannotOverwrite = -1

SDLFileManagerErrorNoKnownFile

A file was attempted to be accessed but it does not exist.

Objective-C

SDLFileManagerErrorNoKnownFile = -2

Swift

case errorNoKnownFile = -2

SDLFileManagerErrorUnableToStart

The file manager attempted to start but encountered an error.

Objective-C

SDLFileManagerErrorUnableToStart = -3

Swift

case errorUnableToStart = -3

SDLFileManagerErrorUnableToUpload

The file manager was unable to send this file.

Objective-C

SDLFileManagerErrorUnableToUpload = -4

Swift

case errorUnableToUpload = -4

SDLFileManagerErrorFileDoesNotExist

The file manager could not find the local file.

Objective-C

SDLFileManagerErrorFileDoesNotExist = -5

Swift

case errorFileDoesNotExist = -5

SDLFileManagerUploadCanceled

The file upload was canceled.

Objective-C

SDLFileManagerUploadCanceled = -6

Swift

case uploadCanceled = -6

SDLFileManagerMultipleFileUploadTasksFailed

One or more of multiple files being uploaded or deleted failed.

Objective-C

SDLFileManagerMultipleFileUploadTasksFailed = -7

Swift

case multipleFileUploadTasksFailed = -7

SDLFileManagerMultipleFileDeleteTasksFailed

One or more of multiple files being uploaded or deleted failed.

Objective-C

SDLFileManagerMultipleFileDeleteTasksFailed = -8

Swift

case multipleFileDeleteTasksFailed = -8

SDLFileManagerErrorFileDataMissing

The file data is nil or empty.

Objective-C

SDLFileManagerErrorFileDataMissing = -9

Swift

case errorFileDataMissing = -9

SDLFileManagerErrorStaticIcon

The file is a static icon, which cannot be uploaded

Objective-C

SDLFileManagerErrorStaticIcon = -10

Swift

case errorStaticIcon = -10
View on GitHub.com
Previous Section Next Section