DBTEAMFeatureValue

Objective-C

@interface DBTEAMFeatureValue : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMFeatureValue : NSObject, DBSerializable, NSCopying

The FeatureValue union.

The values correspond to entries in Feature. You may get different value according to your Dropbox Business plan.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

Constructors

Tag state methods

  • Retrieves whether the union’s current tag state has value “upload_api_rate_limit”.

    Note

    Call this method and ensure it returns true before accessing the uploadApiRateLimit property, otherwise a runtime exception will be thrown.

    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”.

    Note

    Call this method and ensure it returns true before accessing the hasTeamSharedDropbox property, otherwise a runtime exception will be thrown.

    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”.

    Note

    Call this method and ensure it returns true before accessing the hasTeamFileEvents property, otherwise a runtime exception will be thrown.

    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”.

    Note

    Call this method and ensure it returns true before accessing the hasTeamSelectiveSync property, otherwise a runtime exception will be thrown.

    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.