MediaPlayerCapability
@objc(AASDKMediaPlayerCapability)
public final class MediaPlayerCapability : NSObject
Media player capabilities as described by the IAB.
-
State generated by a player’s capability, as described by the IAB.
Declaration
Swift
@objc(AASDKMediaPlayerStateInfo) public final class State : NSObject
-
Indicates the user’s ability to skip the ad.
Declaration
Swift
@objc public static let skip: MediaPlayerCapability
-
Indicates the user’s ability to mute/unmute the audio.
Declaration
Swift
@objc public static let mute: MediaPlayerCapability
-
Indicates the player’s ability to autoplay media with audio, also implies mautoplay.
Declaration
Swift
@objc public static let autoplay: MediaPlayerCapability
-
Indicates the player’s ability to autoplay media when muted.
Declaration
Swift
@objc public static let mautoplay: MediaPlayerCapability
-
Indicates the user’s ability to enter full screen.
Declaration
Swift
@objc public static let fullscreen: MediaPlayerCapability
-
Indicates the player’s ability to render NAI icons from VAST.
Declaration
Swift
@objc public static let icon: MediaPlayerCapability