Protocols
The following protocols are available globally.
-
The
See moreAdAsset
provides support during asset downloading / caching.Declaration
Swift
@objc(AASDKAdAsset) public protocol AdAsset
-
The
See moreAdData
protocol.Declaration
Swift
@objc(AASDKAdData) public protocol AdData
-
The
See moreEvent
protocol describes basic data for an event.Declaration
Swift
@objc(AASDKEvent) public protocol Event : NSObjectProtocol
-
The
See moreAdInterstitialEventMonitor
interface provides native support while playing ads fromAdManager
when paired with the insterstitial player provided by an instance ofAVPlayerInterstitialEventMonitor
orAVPlayerInterstitialEventController
available from iOS 15+. It is designed to add interoperability between theAdManager
it is set on and the nativeAVPlayerInterstitialEventController
for scheduling and monitoring HLS interstitial events. Read more aboutAVPlayerInterstitialEventController
at https://developer.apple.com/documentation/avfoundation/avplayerinterstitialeventcontrollerDeclaration
Swift
@objc(AASDKAdInterstitialEventMonitor) public protocol AdInterstitialEventMonitor
-
@protocol
The
See moreAdManagerDelegate
protocol defines the methods used to retrieve information about ad playback (impression, quartiles, etc).Declaration
Swift
@objc(AASDKAdManagerDelegate) public protocol AdManagerDelegate
-
@protocol
The
See moreAdManagerDatasource
protocol defines the methods used to provide the SDK with various data.Declaration
Swift
@objc(AASDKAdManagerDatasource) public protocol AdManagerDatasource
-
@protocol
The
See moreAdManagerInterstitialEventDatasource
protocol defines the methods used to provide AdswizzSDK with various data during a livestream ad replacement.Declaration
Swift
@objc(AASDKAdManagerInterstitialEventDatasource) public protocol AdManagerInterstitialEventDatasource
-
The
See moreAdManager
provides support while playing the ads.Declaration
Swift
@objc(AASDKAdManager) public protocol AdManager
-
Protocol for a media player to conform to.
See moreDeclaration
Swift
@objc(AASDKMediaPlayerState) public protocol MediaPlayerState : NSObjectProtocol
-
See moreCompanion
protocol.Declaration
Swift
@objc(AASDKCompanion) public protocol Companion : NSObjectProtocol
-
The
See moreMediaFile
public protocol.Declaration
Swift
@objc(AASDKMediaFile) public protocol MediaFile
-
VAST Extension.
See moreDeclaration
Swift
@objc(AASDKVastExtension) public protocol VastExtension : NSObjectProtocol
-
VAST AdParameters.
See moreDeclaration
Swift
@objc(AASDKVastAdParameters) public protocol VastAdParameters : NSObjectProtocol
-
VAST CreativeExtension.
See moreDeclaration
Swift
@objc(AASDKVastCreativeExtension) public protocol VastCreativeExtension : NSObjectProtocol
-
VAST Pricing.
See moreDeclaration
Swift
@objc(AASDKVastPricing) public protocol VastPricing : NSObjectProtocol
-
VAST Advertiser.
See moreDeclaration
Swift
@objc(AASDKVastAdvertiser) public protocol VastAdvertiser : NSObjectProtocol
-
PALManagerProtocol public protocol to interact with Google’s PAL SDK
See moreDeclaration
Swift
@objc(AASDKPALManagerProtocol) public protocol PALManagerProtocol
-
The
See moreAdCompanionViewDelegate
protocol defines delegate methods to communicate changes in the lifecycle ofAdCompanionView
instances.Declaration
Swift
@objc(AASDKAdCompanionViewDelegate) public protocol AdCompanionViewDelegate
-
The
See moreAdVideoViewDelegate
protocol defines delegate methods for receivingAdVideoView
behavior changes and events.Declaration
Swift
@objc(AASDKAdVideoViewDelegate) public protocol AdVideoViewDelegate
-
The
See moreAdPodcastManagerDelegate
protocol defines the methods used to get information about ads and companion banners inserted during podcast playback.Declaration
Swift
@objc(AASDKAdPodcastManagerDelegate) public protocol AdPodcastManagerDelegate
-
The
See moreAdStreamManagerDelegate
protocol defines the methods used to retrieve information about ads and companion banners inserted server-side.Declaration
Swift
@objc(AASDKAdStreamManagerDelegate) public protocol AdStreamManagerDelegate
-
The
See moreAdPodcastManagerDownloadDelegate
protocol defines the methods used to get information during podcast downloads.Declaration
Swift
@objc(AASDKAdPodcastManagerDownloadDelegate) public protocol AdPodcastManagerDownloadDelegate
-
The
See moreAssetDownload
provides support during asset downloading / storage.Declaration
Swift
@objc(AASDKDownloadableAsset) public protocol DownloadableAsset
-
The tracking permission controller delegate informs about status changes.
See moreDeclaration
Swift
@objc(AASDKTrackingPermissionControllerDelegate) public protocol TrackingPermissionControllerDelegate
-
The
See moreWatchSessionDelegate
delegate informs your app when the SDK delivers messages to the companion app.Declaration
Swift
@objc(AASDKWatchSessionDelegate) public protocol WatchSessionDelegate
-
The
See moreWatchSession
protocol defines the connection between your app and the SDK.Declaration
Swift
@objc(AASDKWatchSession) public protocol WatchSession
-
@protocol
The
See moreInteractiveAdManagerDelegate
protocol defines the methods used to retrieve information about interactive ads.Declaration
Swift
@objc(AASDKInteractiveAdManagerDelegate) public protocol InteractiveAdManagerDelegate
-
The
See moreAdswizzSDK
delegate protocol.Declaration
Swift
@objc(AASDKAdswizzSDKDelegate) public protocol AdswizzSDKDelegate
-
Write a custom destination for the logger. The default destination is
See moreNSLog
.Declaration
Swift
@objc(AASDKAdLoggerDestination) public protocol AdLoggerDestination
-
The
See moreAnalyticsEvent
protocol defines all properties for an event.Declaration
Swift
@objc(AASDKAnalyticsEvent) public protocol AnalyticsEvent
-
Analytics interface to customize
See moreAnalyticsEvent
entries.Declaration
Swift
@objc(AASDKAnalyticsCustomData) public protocol AnalyticsCustomData
-
The
See moreAnalyticsCollecting
protocol defines an interface for collectingAdswizzSDK
analytics data. All events will be received on a serial background queue. Note that theAnalyticsConnector
class conforms toAnalyticsCollecting
.Declaration
Swift
@objc(AASDKAnalyticsCollecting) public protocol AnalyticsCollecting
-
The
See moreAnalyticsCollector
protocol defines the interface forAdswizzSDK
to be able to add or remove instances of objects that conform to theAnalyticsConnector
protocol.Declaration
Swift
@objc(AASDKAnalyticsCollector) public protocol AnalyticsCollector
-
AnalyticsConnector
From AdswizzSDKCoreAnalyticsConnector
inheritsAnalyticsCollecting
protocol.Declaration
Swift
@objc(AASDKAnalyticsConnector) public protocol AnalyticsConnector : AnalyticsCollecting