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

SDLFileManagerConfiguration Class Reference

Section Contents

Overview

Undocumented

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 (assign, readwrite, 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 (assign, readwrite, 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