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