Subscription Purchase Flow
This class is responsible for tracking app performance during subscription purchase flows.
This class is thread-safe.
Functions
Link copied to clipboard
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)
Content copied to clipboard
public boolean momentFail( String momentName, String momentId, String msg, Map<String, Object> properties)
Content copied to clipboard
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
Link copied to clipboard
public boolean subscriptionPurchaseComplete(Map<String, Object> properties)
Content copied to clipboard
Ends the subscription purchase moment and generates an info log message that indicates that the subscription purchase completed.
Link copied to clipboard
public boolean subscriptionPurchaseFail( String msg, Map<String, Object> properties, boolean allowScreenshot)
Content copied to clipboard
Ends the subscription purchase moment and generates an error log message that indicates that the subscription purchase failed.
Link copied to clipboard