RegistrationFlow

public final class RegistrationFlow extends CustomFlow

This class is responsible for tracking app performance during registration flows.

This class is thread-safe.

Functions

Link copied to clipboard
public boolean momentComplete(String momentName)
Completes all started instances of the specified custom moment.
public boolean momentComplete(String momentName, String momentId)
public boolean momentComplete(    String momentName,     String momentId,     Map<String, Object> properties)
Completes a started instance of the custom moment specified by the moment identifier.
Link copied to clipboard
public boolean momentFail(String momentName, String msg)
Fails all started instances of the specified custom moment and generates an error log message for each failed moment instance.
public boolean momentFail(    String momentName,     String momentId,     String msg)
public boolean momentFail(    String momentName,     String momentId,     String msg,     Map<String, Object> properties)
Fails a started instance of the custom moment specified by the moment identifier and sends an error log message for the failed moment instance.
Link copied to clipboard
public String momentStart(    String momentName,     boolean doesAllowScreenshot,     Map<String, Object> properties)
Starts a custom moment.
Link copied to clipboard
public boolean registrationComplete()
public boolean registrationComplete(Boolean isPayer)
public boolean registrationComplete(Boolean isPayer, Map<String, Object> properties)
Ends the registration moment and generates an info log message that indicates that the registration completed.
Link copied to clipboard
public boolean registrationFail(String msg)
public boolean registrationFail(String msg, Map<String, Object> properties)
Ends the registration moment and generates a log error message that indicates that the registration failed.
Link copied to clipboard
public boolean registrationStart(String source, Map<String, Object> properties)
public boolean registrationStart(    String userId,     String username,     String email,     Map<String, Object> properties)
Starts a registration moment.

Properties

Link copied to clipboard
public final static long FLAG_SET_USER_PAYER