AdAsset
@objc(AASDKAdAsset)
public protocol AdAssetThe AdAsset provides support during asset downloading / caching.
- 
                  
                  The selected media file URI for the asset. DeclarationSwift @objc var mediaUrl: String? { get }
- 
                  
                  The asset’s creative type. For audio ads, expected values include, but are not limited to “audio/mpeg” and “audio/aac”. DeclarationSwift @objc var mimeType: String? { get }
- 
                  
                  The asset’s creative width. For audio ads, expect 0. DeclarationSwift @objc var width: Int { get }
- 
                  
                  The asset’s creative height. For audio ads, expect 0. DeclarationSwift @objc var height: Int { get }
- 
                  
                  The asset’s expected data length in bytes. DeclarationSwift @objc var expectedContentLength: Int64 { get }
- 
                  
                  The asset’s status. The default is .initialized. See theAdAssetStatefor possible values.DeclarationSwift @objc var state: AdAssetState { get }
- 
                  
                  The last error if the asset failed to load. DeclarationSwift @objc var lastError: Error? { get }
- 
                  
                  Asset delegate. Optional. DeclarationSwift @objc weak var delegate: AdAssetDelegate? { get set }
