PyzeAccount

@interface PyzeAccount : PyzeCustomEvent

PyzeAccount

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

Since

v1.0.0
  • Post login offered details when the login screen is shown

    Since

    v2.2.0

    Declaration

    Objective-C

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

    Swift

    class func postLoginOffered(_ attributes: 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

    v2.2.0

    Declaration

    Objective-C

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

    Swift

    class func postLoginStarted(_ attributes: Any!)

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

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

    Since

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postRegistrationOffered(_ attributes: Any!)

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post registration started details.

    Since

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postRegistrationStarted(_ attributes: Any!)

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post the login operation Offered details.

    Since

    v2.2.0

    Declaration

    Objective-C

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

    Swift

    class func postSocialLoginOffered(_ type: Any!, withAttributes attributes: 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

    v2.2.0

    Declaration

    Objective-C

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

    Swift

    class func postSocialLoginStarted(_ type: Any!, withAttributes attributes: 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

    v2.2.0

    Declaration

    Objective-C

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

    Swift

    class func postSocialLoginCompleted(_ type: Any!, withAttributes attributes: 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

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postRegistrationCompleted(_ attributes: Any!)

    Parameters

    attributes

    Additional custom attributes app would like to share with server.

  • Post the login operation completion details.

    Since

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postLoginCompleted(_ success: Any!, withErrCode errCodeStr: Any!, withAttributes dictionary: 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

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postLogoutCompleted(_ logoutExplicit: Any!, withAttributes dictionary: 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

    v1.0.0

    Declaration

    Objective-C

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

    Swift

    class func postPasswordResetRequested(_ dictionary: Any!)

    Parameters

    dictionary

    Additional custom attributes app would like to share with server.

  • Post password reset completed details.

    Since

    v2.2.0

    Declaration

    Objective-C

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

    Swift

    class func postPasswordResetCompleted(_ dictionary: Any!)

    Parameters

    dictionary

    Additional custom attributes app would like to share with server.