DBTEAMMobileClientPlatform
Objective-C
@interface DBTEAMMobileClientPlatform : NSObject <DBSerializable, NSCopying>
                Swift
class DBTEAMMobileClientPlatform : NSObject, DBSerializable, NSCopying
                The MobileClientPlatform union.
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) DBTEAMMobileClientPlatformTag tag;Swift
var tag: DBTEAMMobileClientPlatformTag { get } 
- 
                  
                  
Initializes union class with tag state of “iphone”.
Description of the “iphone” tag state: Official Dropbox iPhone client.
Declaration
Objective-C
- (nonnull instancetype)initWithIphone;Swift
init(iphone: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “ipad”.
Description of the “ipad” tag state: Official Dropbox iPad client.
Declaration
Objective-C
- (nonnull instancetype)initWithIpad;Swift
init(ipad: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “android”.
Description of the “android” tag state: Official Dropbox Android client.
Declaration
Objective-C
- (nonnull instancetype)initWithAndroid;Swift
init(android: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “windows_phone”.
Description of the “windows_phone” tag state: Official Dropbox Windows phone client.
Declaration
Objective-C
- (nonnull instancetype)initWithWindowsPhone;Swift
init(windowsPhone: ())Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “blackberry”.
Description of the “blackberry” tag state: Official Dropbox Blackberry client.
Declaration
Objective-C
- (nonnull instancetype)initWithBlackberry;Swift
init(blackberry: ())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 “iphone”.
Declaration
Objective-C
- (BOOL)isIphone;Swift
func isIphone() -> BoolReturn Value
Whether the union’s current tag state has value “iphone”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “ipad”.
Declaration
Objective-C
- (BOOL)isIpad;Swift
func isIpad() -> BoolReturn Value
Whether the union’s current tag state has value “ipad”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “android”.
Declaration
Objective-C
- (BOOL)isAndroid;Swift
func isAndroid() -> BoolReturn Value
Whether the union’s current tag state has value “android”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “windows_phone”.
Declaration
Objective-C
- (BOOL)isWindowsPhone;Swift
func isWindowsPhone() -> BoolReturn Value
Whether the union’s current tag state has value “windows_phone”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “blackberry”.
Declaration
Objective-C
- (BOOL)isBlackberry;Swift
func isBlackberry() -> BoolReturn Value
Whether the union’s current tag state has value “blackberry”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;Swift
func isOther() -> BoolReturn 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() -> StringReturn Value
A human-readable string representing the union’s current tag state.
 
View on GitHub
        DBTEAMMobileClientPlatform Class Reference