APSMediaOverlayPosition
Objective-C
enum APSMediaOverlayPosition {}
Swift
enum APSMediaOverlayPosition : Int
Describes the position the overlay should take when placed on-screen by the player.
-
The overlay should be stretched to fit the whole player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionFullscreenSwift
case fullscreen = 0 -
The overlay should be bottom-left aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionBottomLeftSwift
case bottomLeft = 1 -
The overlay should be bottom-right aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionBottomRightSwift
case bottomRight = 2 -
The overlay should be top-left aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionTopLeftSwift
case topLeft = 3 -
The overlay should be top-right aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionTopRightSwift
case topRight = 4 -
The overlay should be placed centrally in the top of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionTopSwift
case top = 5 -
The overlay should be placed centrally at the bottom of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionBottomSwift
case bottom = 6 -
The overlay should be vertically centered to the left of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionLeftSwift
case left = 7 -
The overlay should be vertically centered to the right of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionRightSwift
case right = 8 -
The overlay will not be placed on screen.
Declaration
Objective-C
kAPSMediaOverlayPositionUnspecifiedSwift
case unspecified = 9
APSMediaOverlayPosition Enumeration Reference