moonetix_offerwall_platform_interface library
For platform implementations and tests of the Moonetix plugin. App code
imports package:moonetix_offerwall/moonetix_offerwall.dart instead.
Classes
- MethodChannelMoonetix
-
MoonetixPlatform implementation that talks to the native SDK over a
method channel. Native code calls back with
eventfor lifecycle events. - MoonetixClosed
- The offerwall screen was closed (close button, back, or the system). Fired once per Moonetix.open that showed the screen.
- MoonetixErrorEvent
- Something went wrong. See MoonetixError.code.
- MoonetixEvent
- An offerwall lifecycle event, delivered on Moonetix.events.
- MoonetixListener
- Callbacks for offerwall events, an alternative to listening to Moonetix.events. Set it with Moonetix.setListener. Every callback is optional and runs on the main isolate.
- MoonetixOpened
- The offerwall finished loading its first page.
- MoonetixOptions
- Appearance options for the offerwall screen.
- MoonetixPlatform
- The interface each platform implementation of the Moonetix plugin implements. App code uses Moonetix instead.
Enums
- MoonetixErrorCode
- Error categories reported in MoonetixError.code.
Exceptions / Errors
- MoonetixError
- An error reported through Moonetix.events and MoonetixListener.onError.