adadapted_flutter_sdk library

The AdAdapted Flutter SDK.

A host creates one AdadaptedFlutterSdk, calls AdadaptedFlutterSdk.initialize once, places an AdZone for each zone it has been allocated, and calls AdadaptedFlutterSdk.unmount when it is finished.

Classes

A single ad served for a zone.
AdadaptedFlutterSdk
The AdAdapted SDK for Flutter.
AdPayload
The items an ad offers to add to a list.
AdZone
A single ad zone.
DetailedListItem
A single item that can be added to a user's list.
DeviceInfo
Everything the SDK knows about the device it is running on.
KeywordIntercepts
The keyword intercepts available to a session.
KeywordSearchTerm
A keyword search term the SDK matches user input against.
OutOfAppDataPayload
An "out of app" data payload.
Zone
A zone, carrying the single ad the API chose for it.

Enums

AdActionType
What interacting with an ad does.
ApiEnv
The API environment for the ad service.
DeviceOS
The device operating system.
ListManagerApiEnv
The API environment for the List Manager (event collection) service.
ListManagerEventName
The List Manager event names a host app can report.
PayloadApiEnv
The API environment for the Payload server.
PayloadStatus
The possible payload acknowledgment status values.
ReportedEventType
The different types of events that can be reported.
SdkEventName
The SDK level event names that get reported.
ZoneUnfilledReason
Why an ad zone went unfilled.

Constants

defaultAdRefreshSeconds → const int
How long an ad is displayed for when the API supplies no usable refresh time.
defaultXyDragDistanceAllowed → const double
The default touch drag distance, in logical pixels, below which a touch on a zone counts as a tap rather than a scroll.
minimumAdRefreshSeconds → const int
The shortest refresh time that will be honored, so an unexpectedly small value cannot put the zone into a tight request loop.

Typedefs

KeywordSearchResult = KeywordSearchTerm
A keyword search result.