PSPDFGalleryItemContentState
Objective-C
NS_CLOSED_ENUM(NSUInteger, PSPDFGalleryItemContentState) {
/// The item is waiting to load its content.
PSPDFGalleryItemContentStateWaiting,
/// The item is currently loading its content.
PSPDFGalleryItemContentStateLoading,
/// The item's content is ready.
PSPDFGalleryItemContentStateReady,
/// The item has encountered an error while loading its content.
PSPDFGalleryItemContentStateError
}
Swift
@frozen enum ContentState : UInt, @unchecked Sendable
Undocumented
-
The item is waiting to load its content.
Declaration
Objective-C
PSPDFGalleryItemContentStateWaiting
Swift
case waiting = 0
-
The item is currently loading its content.
Declaration
Objective-C
PSPDFGalleryItemContentStateLoading
Swift
case loading = 1
-
The item’s content is ready.
Declaration
Objective-C
PSPDFGalleryItemContentStateReady
Swift
case ready = 2
-
The item has encountered an error while loading its content.
Declaration
Objective-C
PSPDFGalleryItemContentStateError
Swift
case error = 3