AdVideoAspect
@objc(AASDKAdVideoAspect)
public enum AdVideoAspect : Int
The rendering behavior for an AdVideoView
object. The default is aspectFit
.
-
Preserve the aspect ratio and fit within the video layer bounds.
Declaration
Swift
case aspectFit
-
Preserve the aspect ratio and fill the video layer bounds.
Declaration
Swift
case aspectFill
-
Stretch to fill the video layer bounds.
Declaration
Swift
case fill