DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails
Objective-C
@interface DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails
: NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGDropboxPasswordsNewDeviceEnrolledDetails : NSObject, DBSerializable, NSCopying
The DropboxPasswordsNewDeviceEnrolledDetails
struct.
Enrolled new Dropbox Passwords device.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Whether it’s a first device enrolled.
Declaration
Objective-C
@property (nonatomic, readonly) NSNumber *_Nonnull isFirstDevice;
Swift
var isFirstDevice: NSNumber { get }
-
The platform the device is enrolled.
Declaration
Objective-C
@property (nonatomic, copy, readonly) NSString *_Nonnull platform;
Swift
var platform: String { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype)initWithIsFirstDevice:(nonnull NSNumber *)isFirstDevice platform:(nonnull NSString *)platform;
Swift
init(isFirstDevice: NSNumber, platform: String)
Parameters
isFirstDevice
Whether it’s a first device enrolled.
platform
The platform the device is enrolled.
Return Value
An initialized instance.