AdVideoState

@objc(AASDKAdVideoState)
public enum AdVideoState : Int

The video player state for an AdVideoView object for viewability purposes. The default is normal.

  • The video view’s default playback size.

    Declaration

    Swift

    case normal
  • The video view has been expanded from its original size.

    Declaration

    Swift

    case expanded
  • The video view has been reduced from its original size. The video is still potentially visible.

    Declaration

    Swift

    case collapsed
  • The video view has entered full-screen mode.

    Declaration

    Swift

    case fullscreen
  • The video view is collapsed in such a way that the video is hidden. However, the ad has not been fully removed from the player environment. The video may or may not still be progressing in this state, and sound may be audible. Unlike the collapsed state, where the video view is big enough to display its content, in the minimized state the video view is only big enough to offer a control that enables your user to redisplay the ad if desired.

    Declaration

    Swift

    case minimized