PyzeAccount

@interface PyzeAccount : PyzeCustomEvent

PyzeAccount

Subclass of PyzeCustomEvent class used to post the details related to Accounts.

Since

v3.0.5
  • Post login offered details when the login screen is shown

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postLoginOffered:(nonnull NSDictionary *)attributes;

    Swift

    class func postLoginOffered(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post login started details when user started to type user credentials.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postLoginStarted:(nonnull NSDictionary *)attributes;

    Swift

    class func postLoginStarted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post registration offered details; sign up, registration, user enrollment offered.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postRegistrationOffered:(nonnull NSDictionary *)attributes;

    Swift

    class func postRegistrationOffered(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post registration started details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postRegistrationStarted:(nonnull NSDictionary *)attributes;

    Swift

    class func postRegistrationStarted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post the login operation Offered details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postSocialLoginOffered:(nonnull NSString *)type
                    withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postSocialLoginOffered(_ type: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    type

    This could be any of Facebook, Twitter, LinkedIn, Phone number, etc.,

    attributes

    Additional custom attributes app would like to share with server.

  • Post the login operation Started details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postSocialLoginStarted:(nonnull NSString *)type
                    withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postSocialLoginStarted(_ type: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    type

    This could be any of Facebook, Twitter, LinkedIn, Phone number, etc.,

    attributes

    Additional custom attributes app would like to share with server.

  • Post the login operation Completed details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postSocialLoginCompleted:(nonnull NSString *)type
                      withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postSocialLoginCompleted(_ type: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    type

    This could be any of Facebook, Twitter, LinkedIn, Phone number, etc.,

    attributes

    Additional custom attributes app would like to share with server.

  • Post registration completed details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postRegistrationCompleted:(nonnull NSDictionary *)attributes;

    Swift

    class func postRegistrationCompleted(_ attributes: [AnyHashable : Any])

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post the login operation completion details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postLoginCompleted:(BOOL)success
                   withErrCode:(nonnull NSString *)errCodeStr
                withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postLoginCompleted(_ success: Bool, withErrCode errCodeStr: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    success

    a status to indicate the operation successful or failed.

    errCodeStr

    On error, pass the localizedDescription to this parameter.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post logout details

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postLogoutCompleted:(BOOL)logoutExplicit
                 withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postLogoutCompleted(_ logoutExplicit: Bool, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    logoutExplicit

    A boolean status to determine whether logout is explicit logout or not.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post password reset requested details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postPasswordResetRequested:(nonnull NSDictionary *)dictionary;

    Swift

    class func postPasswordResetRequested(_ dictionary: [AnyHashable : Any])

    Parameters

    dictionary

    Additional custom attributes app would like to share with server.

  • Post password reset completed details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postPasswordResetCompleted:(nonnull NSDictionary *)dictionary;

    Swift

    class func postPasswordResetCompleted(_ dictionary: [AnyHashable : Any])

    Parameters

    dictionary

    Additional custom attributes app would like to share with server.