flutter_openwrap_sdk library

Classes

OpenWrapSDK
Provides global configurations for the OpenWrap SDK, e.g., enabling logging, location access, GDPR, etc. These configurations are globally applicable for OpenWrap SDK; you don't have to set these for every ad request.
POBAdEventListener
The base ad event listener. It is used to inform the ad server SDK events back to OpenWrap SDK Flutter Plugin.
POBAdSize
Defines size of an ad.
POBApplicationInfo
Provides setters to pass application information like store URL, domain, IAB categories etc. It is very important to provide transparency for buyers of your app inventory.
POBBannerAd
Class that displays the banner ad.
POBBannerAdListener
Class for interaction with the POBBannerView. All methods are guaranteed to occur on the main thread.
POBBannerEvent
The banner custom event abstract class. Your banner custom event handler must implement this class to communicate with ad server SDK.
POBBannerEventListener
The banner custom event listener. It is used to inform the ad server SDK events back to OpenWrap SDK.
POBBannerWidget
StatefulWidget to fetch the native banner view from respective platforms.
POBBaseEvent
Abstract class definition to provide ad server implementation. This can be used by ad format specific implementation by ad server.
POBBid
Holds information of winning bid along with all the bids that participated in the auction.
POBError
Error codes OpenWrapSDK gives in error callback.
POBImpression
Class to represent the OpenWrap ad impression
POBInterstitial
Displays full-screen interstitial ads.
POBInterstitialEvent
The OpenWrap interstitial custom event class. Your interstitial custom event handler must implement this class to communicate with ad server flutter plugin.
POBInterstitialEventListener
OpenWrap interstitial custom event listener. It is used to inform ad server flutter plugin's events back to the OpenWrap SDK Flutter Plugin
POBInterstitialListener
Static member class for interaction with the POBInterstitial instance. All methods are guaranteed to occur on the main thread.
POBRequest
Class to represent the OpenWrap ad request.
POBReward
Class to hold information of rewards.
POBRewardedAd
Displays full-screen rewarded ads.
POBRewardedAdListener
Static member class for interaction with the POBRewardedAd instance. All methods are guaranteed to occur on the main thread.
POBUserInfo
Provides setters to pass user information
POBVideoListener
Class for interaction with the POBInterstitial instance for video events. These events will only invoked for VAST based video creative. All methods are guaranteed to occur on the main thread.

Enums

POBAdPosition
Fold placement of the ad to be served.
POBGender
Defines gender of user
POBLocationSource
Enum to define the location source.
POBLogLevel
Log levels to filter logs

Typedefs

POBAdEvent<T extends POBAd> = void Function(T ad)
Function Definition to give Ad expired call back to the listener
POBAdEventReward<T extends POBAd> = void Function(T ad, POBReward reward)
Function Definition to give reward received call back to the listener
POBAdFailed<T extends POBAd> = void Function(T ad, POBError error)
Function Definition to give Ad Failed call back to the listener
POBAdServerAdEvent = void Function()
Function Definition to give of any call back from event handler with no input param and void as return type
POBEventAdServerWidget = Widget Function()
Function definition to return AdServer SDK Widget.
POBEventError = void Function(Map<String, Object> error)
Function definition to pass the errors from event handle back to the listener
POBEventGetAdSize = Future<POBAdSize?> Function()
Function definition to return POBAdSize.
POBEventGetAdSizes = List<POBAdSize>? Function()
Function definition to return List of POBAdSize.
POBEventListener<T extends POBAdEventListener> = void Function(T listener)
Function definition used to set POBAdEventListener in the event handler
POBEventOpenWrapPartnerWin = void Function(String bid)
Function definition used to notify OpenWrapSDK Flutter Plugin on openWrapPartnerWin
POBEventRequestAd = void Function({Map<String, String>? openWrapTargeting})
Function definition used to make request to the event handler with the openwrap targeting