DBTEAMLOGLoginSuccessDetails

Objective-C

@interface DBTEAMLOGLoginSuccessDetails : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMLOGLoginSuccessDetails : NSObject, DBSerializable, NSCopying

The LoginSuccessDetails struct.

Signed in.

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

Instance fields

  • Tells if the login device is EMM managed. Might be missing due to historical data gap.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *isEmmManaged;

    Swift

    var isEmmManaged: NSNumber? { get }
  • Login method.

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMLOGLoginMethod *_Nonnull loginMethod;

    Swift

    var loginMethod: DBTEAMLOGLoginMethod { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLoginMethod:
                                (nonnull DBTEAMLOGLoginMethod *)loginMethod
                                   isEmmManaged:(nullable NSNumber *)isEmmManaged;

    Swift

    init(loginMethod: DBTEAMLOGLoginMethod, isEmmManaged: NSNumber?)

    Parameters

    loginMethod

    Login method.

    isEmmManaged

    Tells if the login device is EMM managed. Might be missing due to historical data gap.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithLoginMethod:
        (nonnull DBTEAMLOGLoginMethod *)loginMethod;

    Swift

    init(loginMethod: DBTEAMLOGLoginMethod)

    Parameters

    loginMethod

    Login method.

    Return Value

    An initialized instance.