Enumerations

The following enumerations are available globally.

  • The states for an AdAsset object.

    See more

    Declaration

    Swift

    @objc(AASDKAdAssetState)
    public enum AdAssetState : Int
  • The AdAssetQuality provides quality options for which assets will be cached/played by the AdManager.

    See more

    Declaration

    Swift

    @objc(AASDKAdAssetQuality)
    public enum AdAssetQuality : Int
  • The AdCachePolicy provides caching options for the ads managed by AdManager.

    See more

    Declaration

    Swift

    @objc(AASDKAdCachePolicy)
    public enum AdCachePolicy : Int
  • Different event types sent by the AdManager to its listeners

    See more

    Declaration

    Swift

    @objc(AASDKAdEventType)
    public enum AdEventType : Int, CaseIterable
  • The AdType is VAST compliant and provides information on which kind of ad is currently handled by the AdManager.

    See more

    Declaration

    Swift

    @objc(AASDKAdType)
    public enum AdType : Int, CaseIterable
  • Media player status.

    See more

    Declaration

    Swift

    @objc(AASDKMediaPlayerStatus)
    public enum MediaPlayerStatus : Int
  • The VAST error codes.

    See more

    Declaration

    Swift

    @objc(AASDKVastErrorCode)
    public enum VastErrorCode : Int
  • Rendering mode for a Companion.

    See more

    Declaration

    Swift

    @objc(AASDKCompanionRenderingMode)
    public enum CompanionRenderingMode : Int
  • The VAST tracking event types.

    See more

    Declaration

    Swift

    @objc(AASDKVastTrackingEvent)
    public enum VastTrackingEvent : Int, CaseIterable
  • The preferred resource type to load and display in AdCompanionView instances.

    See more

    Declaration

    Swift

    @objc(AASDKAdCompanionResourceType)
    public enum AdCompanionResourceType : Int, CaseIterable
  • A set of purposes for which an obstruction can be registered as “friendly”.

    See more

    Declaration

    Swift

    @objc(AASDKAdVideoFriendlyObstructionPurpose)
    public enum AdVideoFriendlyObstructionPurpose : Int
  • The video player state for an AdVideoView object for viewability purposes. The default is normal.

    See more

    Declaration

    Swift

    @objc(AASDKAdVideoState)
    public enum AdVideoState : Int
  • The rendering behavior for an AdVideoView object. The default is aspectFit.

    See more

    Declaration

    Swift

    @objc(AASDKAdVideoAspect)
    public enum AdVideoAspect : Int
  • Types of stream capabilities.

    See more

    Declaration

    Swift

    @objc(AASDKAdStreamCapabilities)
    public enum AdStreamCapability : Int
  • The states for a DownloadableAsset object.

    See more

    Declaration

    Swift

    @objc(AASDKDownloadableAssetState)
    public enum DownloadableAssetState : Int
  • Supported types of permission values.

    See more

    Declaration

    Swift

    @objc
    public enum AdswizzPermissionValue : Int
  • Supported types of permissions that might be requested.

    See more

    Declaration

    Swift

    @objc
    public enum AdswizzPermissionType : Int, CaseIterable
  • HTTP protocol.

    See more

    Declaration

    Swift

    @objc(AASDKAdswizzAdRequestProtocol)
    public enum HTTPProtocol : Int
    extension HTTPProtocol: RawRepresentable
  • The end status for the TrackingPermissionController flow.

    See more

    Declaration

    Swift

    @objc(AASDKTrackingDismissReason)
    public enum TrackingStatus : Int
  • Various event types sent by the InteractiveAdManager to its listeners.

    See more

    Declaration

    Swift

    @objc(AASDKInteractiveAdEventType)
    public enum InteractiveAdEventType : Int, CaseIterable
  • The GDPR privacy policy.

    See more

    Declaration

    Swift

    @objc(AASDKGDPROption)
    public enum GDPRConsent : Int, Codable
  • The U.S. Privacy consent.

    See more

    Declaration

    Swift

    @objc(AASDKCCPAOption)
    public enum CCPAConsent : Int, Codable, CaseIterable