DBACCOUNTSetProfilePhotoErrorTag
Objective-C
enum DBACCOUNTSetProfilePhotoErrorTag : NSInteger {}
Swift
@frozen enum DBACCOUNTSetProfilePhotoErrorTag : Int, @unchecked Sendable
The DBACCOUNTSetProfilePhotoErrorTag
enum type represents the possible tag
states with which the DBACCOUNTSetProfilePhotoError
union can exist.
-
File cannot be set as profile photo.
Declaration
Objective-C
DBACCOUNTSetProfilePhotoErrorFileTypeError
Swift
case fileTypeError = 0
-
File cannot exceed 10 MB.
Declaration
Objective-C
DBACCOUNTSetProfilePhotoErrorFileSizeError
Swift
case fileSizeError = 1
-
Image must be larger than 128 x 128.
Declaration
Objective-C
DBACCOUNTSetProfilePhotoErrorDimensionError
Swift
case dimensionError = 2
-
Image could not be thumbnailed.
Declaration
Objective-C
DBACCOUNTSetProfilePhotoErrorThumbnailError
Swift
case thumbnailError = 3
-
Temporary infrastructure failure, please retry.
Declaration
Objective-C
DBACCOUNTSetProfilePhotoErrorTransientError
Swift
case transientError = 4
-
(no description).
Declaration
Objective-C
DBACCOUNTSetProfilePhotoErrorOther
Swift
case other = 5