common_interface library

Classes

AdCallbacks
Lifecycle events of a single ad request. Every callback is optional.
AdConfig
Per-screen ad configuration from the server.
AdFailure
Why a load or show did not succeed.
AdNetworkIds
Ad unit ids for one network, as delivered by the server.
AdSession
Server-driven configuration and the registered networks for this launch.
AdState
Runtime ad UI state: the full-screen loader and per-screen tap rotation.
AdTarget
One concrete ad to show: a network and a full-screen type.
ApiRegister
AppContext
Holds the app's navigator key so ads can find a context outside widgets.
CategoryRewards
Rewards split by claim state.
DatedRewards
Rewards grouped by date. dates keeps the server's order.
DeviceInfoModel
Identity of this device as sent to the server on registration.
DeviceServerToken
Server-side record of this device, returned by device-register.
DeviceService
Device identity and the per-install public token.
KeyValueStore
Minimal async string store. Lets services be tested without a platform.
LoaderBuilder
Overlays a loader on child while a full-screen ad is loading.
MemoryKeyValueStore
In-memory store for tests.
NativeAdContainerConfig
Container look shared by every native ad placement. Mutate the fields once at startup to restyle all of them.
NetworkInterface
Contract every ad network plugin implements.
RegisterAppParameters
ReviewPrompt
Decides when to ask the user for a review.
Reward
A claimable reward.
RewardDetail
One reward plus similar ones to suggest.
RouteMethods
SecureKeyValueStore
Production store backed by the platform keychain / keystore.
Urls
API base url, overridable by the host app before registering.

Enums

AdsType
Full-screen ad formats.
NetworkType
Ad networks the multi-network module can route to.