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
SDLFileManagerConfiguration

SDLFileManagerConfiguration Class Reference

Section Contents

Overview

File manager configuration information

artworkRetryCount

Defines the number of times the file manager will attempt to reupload SDLArtwork files in the event of a failed upload to Core.

Defaults to 1. To disable reuploads, set to 0.

Objective-C

@property (nonatomic) UInt8 artworkRetryCount;

Swift

var artworkRetryCount: UInt8 { get set }

fileRetryCount

Defines the number of times the file manager will attempt to reupload general SDLFiles in the event of a failed upload to Core.

Defaults to 1. To disable reuploads, set to 0.

Objective-C

@property (nonatomic) UInt8 fileRetryCount;

Swift

var fileRetryCount: UInt8 { get set }

+defaultConfiguration

Creates a default file manager configuration.

Objective-C

+ (nonnull instancetype)defaultConfiguration;

Swift

class func `default`() -> Self

Return Value

A default configuration that may be customized.

-init

Use defaultConfiguration instead

Objective-C

- (nonnull instancetype)init;

-initWithArtworkRetryCount:fileRetryCount:

Creates a file manager configuration with customized upload retry counts.

Objective-C

- (nonnull instancetype)initWithArtworkRetryCount:(UInt8)artworkRetryCount
                                   fileRetryCount:(UInt8)fileRetryCount;

Swift

init(artworkRetryCount: UInt8, fileRetryCount: UInt8)

Return Value

The configuration

View on GitHub.com
Previous Section Next Section