DBSHARINGSharedLinkSettingsErrorTag
Objective-C
enum DBSHARINGSharedLinkSettingsErrorTag : NSInteger {}
Swift
@frozen enum DBSHARINGSharedLinkSettingsErrorTag : Int, @unchecked Sendable
The DBSHARINGSharedLinkSettingsErrorTag
enum type represents the possible
tag states with which the DBSHARINGSharedLinkSettingsError
union can
exist.
-
The given settings are invalid (for example, all attributes of the SharedLinkSettings are empty, the requested visibility is
password
inDBSHARINGRequestedVisibility
but thelinkPassword
inDBSHARINGSharedLinkSettings
is missing,expires
inDBSHARINGSharedLinkSettings
is set to the past, etc.).Declaration
Objective-C
DBSHARINGSharedLinkSettingsErrorInvalidSettings
Swift
case invalidSettings = 0
-
User is not allowed to modify the settings of this link. Note that basic users can only set
public
inDBSHARINGRequestedVisibility
as therequestedVisibility
inDBSHARINGSharedLinkSettings
and cannot setexpires
inDBSHARINGSharedLinkSettings
.Declaration
Objective-C
DBSHARINGSharedLinkSettingsErrorNotAuthorized
Swift
case notAuthorized = 1