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
kAPSMediaOverlayPositionFullscreen
Swift
case fullscreen = 0
-
The overlay should be bottom-left aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionBottomLeft
Swift
case bottomLeft = 1
-
The overlay should be bottom-right aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionBottomRight
Swift
case bottomRight = 2
-
The overlay should be top-left aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionTopLeft
Swift
case topLeft = 3
-
The overlay should be top-right aligned with the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionTopRight
Swift
case topRight = 4
-
The overlay should be placed centrally in the top of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionTop
Swift
case top = 5
-
The overlay should be placed centrally at the bottom of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionBottom
Swift
case bottom = 6
-
The overlay should be vertically centered to the left of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionLeft
Swift
case left = 7
-
The overlay should be vertically centered to the right of the player surface.
Declaration
Objective-C
kAPSMediaOverlayPositionRight
Swift
case right = 8
-
The overlay will not be placed on screen.
Declaration
Objective-C
kAPSMediaOverlayPositionUnspecified
Swift
case unspecified = 9