RatingDialog
public class RatingDialog: NSObject, RatingDialogPresenting
-
Declaration
Swift
public var analytics: RatingDialogTracking? -
Starts the builder before calling the setters
Declaration
Swift
open static func builder() -> Builder -
Called when the cancel (left side) button on the dialog view is tapped
Declaration
Swift
public func cancelButtonAction() -
Called when the OK (right side) button on the dialog view is tapped
Declaration
Swift
public func acceptButtonAction() -
Called when the timeout is reached with no tap on dialog buttons
Declaration
Swift
public func timeout() -
Counts app launches and returns true if the count matches the provided value When not in DEBUG, appLaunches need to be 30 min appart for counter to increase
- onLaunch count: Int for the launch count on which we should present the Rating Dialog
Declaration
Swift
public static func shouldShow(onLaunch count: Int) -> Bool -
Resets the launch count to zero
Declaration
Swift
public static func clearLaunchCount() -
Decreases the launch count by one
Declaration
Swift
public static func decreaseLaunchCount() -
Declaration
Swift
open class Builder
View on GitHub
RatingDialog Class Reference