Classes

The following classes are available globally.

  • The AdCachePolicyConfiguration object provides caching options for the ads managed by AdManager.

    See more

    Declaration

    Swift

    @objc(AASDKAdCachePolicyConfiguration)
    public final class AdCachePolicyConfiguration : NSObject
  • The AdManagerSettings class provides settings to configure an instance of AdManager.

    See more

    Declaration

    Swift

    @objc(AASDKAdManagerSettings)
    public final class AdManagerSettings : NSObject
  • Media player capabilities as described by the IAB.

    See more

    Declaration

    Swift

    @objc(AASDKMediaPlayerCapability)
    public final class MediaPlayerCapability : NSObject
  • The AdRequestConnection represents a single connection to the AdsWizz ad server.

    The ad request settings are encapsulated in a reusable AdRequest object. The AdRequestConnection object encapsulates the states of a single communication. E.g. starting/canceling/finishing a connection.

    See more

    Declaration

    Swift

    @objc(AASDKAdRequestConnection)
    public final class AdRequestConnection : NSObject
  • Main logger class for AdswizzSDK. The destination output conforms to the AdLoggerDestination protocol.

    See more

    Declaration

    Swift

    @objc(AASDKAdLogger)
    public final class AdLogger : NSObject
  • The AdswizzSDK analytics namespace.

    See more

    Declaration

    Swift

    @objc(AASDKAnalytics)
    public final class AASDKAnalytics : NSObject
  • The view that displays companion ads. It is a UIView subclass that renders its web-based content internally.

    See more

    Declaration

    Swift

    @objc(AASDKAdCompanionView)
    @MainActor
    public class AdCompanionView : UIView
    extension AdCompanionView: UIGestureRecognizerDelegate
    extension AdCompanionView: WKNavigationDelegate
    extension AdCompanionView: WKUIDelegate
  • The options class to configure all AdCompanionView instances.

    See more

    Declaration

    Swift

    @objc(AASDKAdCompanionOptions)
    public class AdCompanionOptions : NSObject
  • The video view to render ads. It makes use of an internal AVPlayerLayer to be able to render video content on its own. Subclassing notes: AdVideoView can be subclassed; however, you must ensure it does not alter the base behaviour and presentation

    See more

    Declaration

    Swift

    @objc(AASDKAdVideoView)
    @MainActor
    public class AdVideoView : UIView
    extension AdVideoView: UIGestureRecognizerDelegate
  • An obstruction that is marked as “friendly” for viewability measurement purposes.

    See more

    Declaration

    Swift

    @objc(AASDKAdVideoFriendlyObstruction)
    public final class AdVideoFriendlyObstruction : NSObject
  • The AdPodcastManager supports playing a local or a streamed podcast either with the internal player or an external player.

    See more

    Declaration

    Swift

    @objc(AASDKAdPodcastManager)
    open class AdPodcastManager : NSObject, Identifiable
  • The AdPodcastManagerSettings class provides settings for the Ad Podcast Manager.

    See more

    Declaration

    Swift

    @objc(AASDKAdPodcastManagerSettings)
    public final class AdPodcastManagerSettings : NSObject
  • The AdStreamManager supports playing a stream with either the internal player or an external player.

    See more

    Declaration

    Swift

    @objc(AASDKAdStreamManager)
    open class AdStreamManager : NSObject, Identifiable
  • The AdStreamManagerSettings class provides settings for the Ad Stream Manager.

    See more

    Declaration

    Swift

    @objc(AASDKAdStreamManagerSettings)
    public final class AdStreamManagerSettings : NSObject
  • Metadata for DVR-enabled streams

    See more

    Declaration

    Swift

    @objc(AASDKDVRMetadata)
    public class DVRMetadata : NSObject, Codable
  • The AdswizzSDK configuration class. Can be used to initialize the AdswizzSDK shared instance.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzSDKConfig)
    public final class AdswizzSDKConfig : NSObject
  • AdswizzSDK namespace for constants.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzSettingsKeys)
    public class AdswizzSettingsKeys : NSObject
  • An AdswizzAdPodcastManager allows for AdswizzSDK to deliver all the podcast functionality, including Remote Audio Data (RAD) support and measurement.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzAdPodcastManager)
    public class AdswizzAdPodcastManager : AdPodcastManager
  • The AdswizzAdRequest connection to an Adswizz Ad Server.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzAdRequest)
    public final class AdswizzAdRequest : AdRequest
  • The AdswizzAdZone object specifies criteria for ad selection on an Adswizz server. Can be used to configure an AdswizzAdRequest connection.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzAdZone)
    public final class AdswizzAdZone : NSObject
  • The AdswizzShimZone object specifies criteria for “shim” ads selection from Adswizz AdServer. Can be used to configure an AdswizzAdRequest to specify ad fillers that will satisfy the total ad pod duration requirement (the duration of returned ads should be at least the requested size).

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzShimZone)
    public final class AdswizzShimZone : NSObject
  • An AdswizzAdStreamManager enables the AdswizzSDK to deliver streaming functionality.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzAdStreamManager)
    public class AdswizzAdStreamManager : AdStreamManager
  • A text element used as visual model for TrackingPermissionConfiguration.

    See more

    Declaration

    Swift

    @objc(AASDKTrackingPermissionUIElement)
    public final class TrackingPermissionUIElement : NSObject
  • The configuration used to initialize a TrackingPermissionController.

    See more

    Declaration

    Swift

    @objc(AASDKTrackingPermissionConfiguration)
    public final class TrackingPermissionConfiguration : NSObject
  • A view controller subclass for a friendly IDFA tracking permission request.

    See more

    Declaration

    Swift

    @objc(AASDKTrackingPermissionController)
    @MainActor
    public final class TrackingPermissionController : UIViewController
    extension TrackingPermissionController: UIAdaptivePresentationControllerDelegate
  • The AdRequest is a base class that encapsulates the components of a request used to fetch ads from an ad server. Use AdswizzAdRequest for a complete implementation that can be used to fetch ads from an Adswizz ad server.

    See more

    Declaration

    Swift

    @objc(AASDKAdRequest)
    open class AdRequest : NSObject
  • The AdswizzCCPAConfig wrapper to setup the U.S. Privacy policy.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzCCPAConfig)
    public final class AdswizzCCPAConfig : NSObject
  • The AdswizzSDK location configuration class. Can be used to access and set the supported location options from the AdswizzSDK shared instance.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzLocationConfig)
    public final class AdswizzLocationConfig : NSObject
  • The AdswizzSDK privacy consent configuration class. Can be used to access and set the supported consent types from the AdswizzSDK shared instance.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzPrivacyConsent)
    public final class AdswizzPrivacyConsent : NSObject
  • AdswizzSDK main entry point. Use the shared instance to set the AdswizzSDKDelegate or initialize the SDK.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzSDK)
    public class AdswizzSDK : NSObject