DBTEAMFeature
Objective-C
@interface DBTEAMFeature : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMFeature : NSObject, DBSerializable, NSCopying
The Feature
union.
A set of features that a Dropbox Business account may support.
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) DBTEAMFeatureTag tag;
Swift
var tag: DBTEAMFeatureTag { get }
-
Initializes union class with tag state of “upload_api_rate_limit”.
Description of the “upload_api_rate_limit” tag state: The number of upload API calls allowed per month.
Declaration
Objective-C
- (nonnull instancetype)initWithUploadApiRateLimit;
Swift
init(uploadApiRateLimit: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “has_team_shared_dropbox”.
Description of the “has_team_shared_dropbox” tag state: Does this team have a shared team root.
Declaration
Objective-C
- (nonnull instancetype)initWithHasTeamSharedDropbox;
Swift
init(hasTeamSharedDropbox: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “has_team_file_events”.
Description of the “has_team_file_events” tag state: Does this team have file events.
Declaration
Objective-C
- (nonnull instancetype)initWithHasTeamFileEvents;
Swift
init(hasTeamFileEvents: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “has_team_selective_sync”.
Description of the “has_team_selective_sync” tag state: Does this team have team selective sync enabled.
Declaration
Objective-C
- (nonnull instancetype)initWithHasTeamSelectiveSync;
Swift
init(hasTeamSelectiveSync: ())
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 “upload_api_rate_limit”.
Declaration
Objective-C
- (BOOL)isUploadApiRateLimit;
Swift
func isUploadApiRateLimit() -> Bool
Return Value
Whether the union’s current tag state has value “upload_api_rate_limit”.
-
Retrieves whether the union’s current tag state has value “has_team_shared_dropbox”.
Declaration
Objective-C
- (BOOL)isHasTeamSharedDropbox;
Swift
func isHasTeamSharedDropbox() -> Bool
Return Value
Whether the union’s current tag state has value “has_team_shared_dropbox”.
-
Retrieves whether the union’s current tag state has value “has_team_file_events”.
Declaration
Objective-C
- (BOOL)isHasTeamFileEvents;
Swift
func isHasTeamFileEvents() -> Bool
Return Value
Whether the union’s current tag state has value “has_team_file_events”.
-
Retrieves whether the union’s current tag state has value “has_team_selective_sync”.
Declaration
Objective-C
- (BOOL)isHasTeamSelectiveSync;
Swift
func isHasTeamSelectiveSync() -> Bool
Return Value
Whether the union’s current tag state has value “has_team_selective_sync”.
-
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.