DBPAPERAddPaperDocUserResultTag
Objective-C
enum DBPAPERAddPaperDocUserResultTag : NSInteger {}
Swift
@frozen enum DBPAPERAddPaperDocUserResultTag : Int, @unchecked Sendable
The DBPAPERAddPaperDocUserResultTag
enum type represents the possible tag
states with which the DBPAPERAddPaperDocUserResult
union can exist.
-
User was successfully added to the Paper doc.
Declaration
Objective-C
DBPAPERAddPaperDocUserResultSuccess
Swift
case success = 0
-
Something unexpected happened when trying to add the user to the Paper doc.
Declaration
Objective-C
DBPAPERAddPaperDocUserResultUnknownError
Swift
case unknownError = 1
-
The Paper doc can be shared only with team members.
Declaration
Objective-C
DBPAPERAddPaperDocUserResultSharingOutsideTeamDisabled
Swift
case sharingOutsideTeamDisabled = 2
-
The daily limit of how many users can be added to the Paper doc was reached.
Declaration
Objective-C
DBPAPERAddPaperDocUserResultDailyLimitReached
Swift
case dailyLimitReached = 3
-
Owner’s permissions cannot be changed.
Declaration
Objective-C
DBPAPERAddPaperDocUserResultUserIsOwner
Swift
case userIsOwner = 4
-
User data could not be retrieved. Clients should retry.
Declaration
Objective-C
DBPAPERAddPaperDocUserResultFailedUserDataRetrieval
Swift
case failedUserDataRetrieval = 5
-
This user already has the correct permission to the Paper doc.
Declaration
Objective-C
DBPAPERAddPaperDocUserResultPermissionAlreadyGranted
Swift
case permissionAlreadyGranted = 6
-
(no description).
Declaration
Objective-C
DBPAPERAddPaperDocUserResultOther
Swift
case other = 7