Classes
The following classes are available globally.
-
Media player capabilities as described by the IAB.
See moreDeclaration
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
See moreAdRequest
object. TheAdRequestConnection
object encapsulates the states of a single communication. E.g. starting/canceling/finishing a connection.Declaration
Swift
@objc(AASDKAdRequestConnection) public final class AdRequestConnection : NSObject
-
Main logger class for
See moreAdswizzSDK
. The destination output conforms to theAdLoggerDestination
protocol.Declaration
Swift
@objc(AASDKAdLogger) public final class AdLogger : NSObject
-
The
See moreAdswizzSDK
analytics namespace.Declaration
Swift
@objc(AASDKAnalytics) public final class AASDKAnalytics : NSObject
-
The view that displays companion ads. It is a
See moreUIView
subclass that renders its web-based content internally.Declaration
Swift
@objc(AASDKAdCompanionView) @MainActor public class AdCompanionView : UIView
extension AdCompanionView: UIGestureRecognizerDelegate
extension AdCompanionView: WKNavigationDelegate
extension AdCompanionView: WKUIDelegate
-
The options class to configure all
See moreAdCompanionView
instances.Declaration
Swift
@objc(AASDKAdCompanionOptions) public class AdCompanionOptions : NSObject
-
The video view to render ads. It makes use of an internal
See moreAVPlayerLayer
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 presentationDeclaration
Swift
@objc(AASDKAdVideoView) @MainActor public class AdVideoView : UIView
extension AdVideoView: UIGestureRecognizerDelegate
-
An obstruction that is marked as “friendly” for viewability measurement purposes.
See moreDeclaration
Swift
@objc(AASDKAdVideoFriendlyObstruction) public final class AdVideoFriendlyObstruction : NSObject
-
The
See moreAdPodcastManager
supports playing a local or a streamed podcast either with the internal player or an external player.Declaration
Swift
@objc(AASDKAdPodcastManager) open class AdPodcastManager : NSObject, Identifiable
-
The
See moreAdPodcastManagerSettings
class provides settings for the Ad Podcast Manager.Declaration
Swift
@objc(AASDKAdPodcastManagerSettings) public final class AdPodcastManagerSettings : NSObject
-
The
See moreAdStreamManager
supports playing a stream with either the internal player or an external player.Declaration
Swift
@objc(AASDKAdStreamManager) open class AdStreamManager : NSObject, Identifiable
-
The
See moreAdStreamManagerSettings
class provides settings for the Ad Stream Manager.Declaration
Swift
@objc(AASDKAdStreamManagerSettings) public final class AdStreamManagerSettings : NSObject
-
Metadata for DVR-enabled streams
See moreDeclaration
Swift
@objc(AASDKDVRMetadata) public class DVRMetadata : NSObject, Codable
-
The
See moreAdswizzSDK
configuration class. Can be used to initialize theAdswizzSDK
shared instance.Declaration
Swift
@objc(AASDKAdswizzSDKConfig) public final class AdswizzSDKConfig : NSObject
-
See moreAdswizzSDK
namespace for constants.Declaration
Swift
@objc(AASDKAdswizzSettingsKeys) public class AdswizzSettingsKeys : NSObject
-
An
See moreAdswizzAdPodcastManager
allows forAdswizzSDK
to deliver all the podcast functionality, including Remote Audio Data (RAD) support and measurement.Declaration
Swift
@objc(AASDKAdswizzAdPodcastManager) public class AdswizzAdPodcastManager : AdPodcastManager
-
The
See moreAdswizzAdZone
object specifies criteria for ad selection on an Adswizz server. Can be used to configure anAdswizzAdRequest
connection.Declaration
Swift
@objc(AASDKAdswizzAdZone) public final class AdswizzAdZone : NSObject
-
The
See moreAdswizzShimZone
object specifies criteria for “shim” ads selection from Adswizz AdServer. Can be used to configure anAdswizzAdRequest
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).Declaration
Swift
@objc(AASDKAdswizzShimZone) public final class AdswizzShimZone : NSObject
-
An
See moreAdswizzAdStreamManager
enables theAdswizzSDK
to deliver streaming functionality.Declaration
Swift
@objc(AASDKAdswizzAdStreamManager) public class AdswizzAdStreamManager : AdStreamManager
-
A text element used as visual model for
See moreTrackingPermissionConfiguration
.Declaration
Swift
@objc(AASDKTrackingPermissionUIElement) public final class TrackingPermissionUIElement : NSObject
-
The configuration used to initialize a
See moreTrackingPermissionController
.Declaration
Swift
@objc(AASDKTrackingPermissionConfiguration) public final class TrackingPermissionConfiguration : NSObject
-
A view controller subclass for a friendly IDFA tracking permission request.
See moreDeclaration
Swift
@objc(AASDKTrackingPermissionController) @MainActor public final class TrackingPermissionController : UIViewController
extension TrackingPermissionController: UIAdaptivePresentationControllerDelegate
-
The
See moreAdRequest
is a base class that encapsulates the components of a request used to fetch ads from an ad server. UseAdswizzAdRequest
for a complete implementation that can be used to fetch ads from an Adswizz ad server.Declaration
Swift
@objc(AASDKAdRequest) open class AdRequest : NSObject
-
The
See moreAdswizzCCPAConfig
wrapper to setup the U.S. Privacy policy.Declaration
Swift
@objc(AASDKAdswizzCCPAConfig) public final class AdswizzCCPAConfig : NSObject
-
The
See moreAdswizzSDK
location configuration class. Can be used to access and set the supported location options from theAdswizzSDK
shared instance.Declaration
Swift
@objc(AASDKAdswizzLocationConfig) public final class AdswizzLocationConfig : NSObject
-
The
See moreAdswizzSDK
privacy consent configuration class. Can be used to access and set the supported consent types from theAdswizzSDK
shared instance.Declaration
Swift
@objc(AASDKAdswizzPrivacyConsent) public final class AdswizzPrivacyConsent : NSObject
-
See moreAdswizzSDK
main entry point. Use theshared
instance to set theAdswizzSDKDelegate
or initialize the SDK.Declaration
Swift
@objc(AASDKAdswizzSDK) public class AdswizzSDK : NSObject