SubscriptionOfferView¶
Inherits: RefCounted < Object
A view for redeeming subscription offers.
Description¶
This class provides a view for users to redeem subscription offer codes. It handles the UI flow for entering and verifying offer codes.
Properties¶
|
Methods¶
void |
dismiss() |
void |
Signals¶
Emitted when the offer redemption fails. arg1 contains the error message.
success() 🔗
Emitted when the offer redemption is successful.
Property Descriptions¶
String title = "Redeeming Offer..." 🔗
The title displayed on the view.
Method Descriptions¶
void dismiss() 🔗
Dismisses the currently presented view.
void present(callback: Callable) 🔗
Presents the offer code redemption view. note: The callback parameter is currently unused; use the success and error signals to handle the result.