DBSHARINGSharedFolderAccessError
Objective-C
@interface DBSHARINGSharedFolderAccessError
: NSObject <DBSerializable, NSCopying>
Swift
class DBSHARINGSharedFolderAccessError : NSObject, DBSerializable, NSCopying
The SharedFolderAccessError
union.
There is an error accessing the shared folder.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBSHARINGSharedFolderAccessErrorTag tag;
Swift
var tag: DBSHARINGSharedFolderAccessErrorTag { get }
-
Initializes union class with tag state of “invalid_id”.
Description of the “invalid_id” tag state: This shared folder ID is invalid.
Declaration
Objective-C
- (nonnull instancetype)initWithInvalidId;
Swift
init(invalidId: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “not_a_member”.
Description of the “not_a_member” tag state: The user is not a member of the shared folder thus cannot access it.
Declaration
Objective-C
- (nonnull instancetype)initWithNotAMember;
Swift
init(notAMember: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “email_unverified”.
Description of the “email_unverified” tag state: Never set.
Declaration
Objective-C
- (nonnull instancetype)initWithEmailUnverified;
Swift
init(emailUnverified: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “unmounted”.
Description of the “unmounted” tag state: The shared folder is unmounted.
Declaration
Objective-C
- (nonnull instancetype)initWithUnmounted;
Swift
init(unmounted: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “other”.
Declaration
Objective-C
- (nonnull instancetype)initWithOther;
Swift
init(other: ())
Return Value
An initialized instance.
-
Retrieves whether the union’s current tag state has value “invalid_id”.
Declaration
Objective-C
- (BOOL)isInvalidId;
Swift
func isInvalidId() -> Bool
Return Value
Whether the union’s current tag state has value “invalid_id”.
-
Retrieves whether the union’s current tag state has value “not_a_member”.
Declaration
Objective-C
- (BOOL)isNotAMember;
Swift
func isNotAMember() -> Bool
Return Value
Whether the union’s current tag state has value “not_a_member”.
-
Retrieves whether the union’s current tag state has value “email_unverified”.
Declaration
Objective-C
- (BOOL)isEmailUnverified;
Swift
func isEmailUnverified() -> Bool
Return Value
Whether the union’s current tag state has value “email_unverified”.
-
Retrieves whether the union’s current tag state has value “unmounted”.
Declaration
Objective-C
- (BOOL)isUnmounted;
Swift
func isUnmounted() -> Bool
Return Value
Whether the union’s current tag state has value “unmounted”.
-
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;
Swift
func isOther() -> Bool
Return Value
Whether the union’s current tag state has value “other”.
-
Retrieves string value of union’s current tag state.
Declaration
Objective-C
- (nonnull NSString *)tagName;
Swift
func tagName() -> String
Return Value
A human-readable string representing the union’s current tag state.