DBFILESPreviewErrorTag
Objective-C
enum DBFILESPreviewErrorTag : NSInteger {}
Swift
@frozen enum DBFILESPreviewErrorTag : Int, @unchecked Sendable
The DBFILESPreviewErrorTag
enum type represents the possible tag states
with which the DBFILESPreviewError
union can exist.
-
An error occurs when downloading metadata for the file.
Declaration
Objective-C
DBFILESPreviewErrorPath
Swift
case path = 0
-
This preview generation is still in progress and the file is not ready for preview yet.
Declaration
Objective-C
DBFILESPreviewErrorInProgress
Swift
case inProgress = 1
-
The file extension is not supported preview generation.
Declaration
Objective-C
DBFILESPreviewErrorUnsupportedExtension
Swift
case unsupportedExtension = 2
-
The file content is not supported for preview generation.
Declaration
Objective-C
DBFILESPreviewErrorUnsupportedContent
Swift
case unsupportedContent = 3