Enum Class APSMediaOverlay.APSMediaOverlayPosition
java.lang.Object
java.lang.Enum<APSMediaOverlay.APSMediaOverlayPosition>
com.appscend.media.events.APSMediaOverlay.APSMediaOverlayPosition
- All Implemented Interfaces:
Serializable, Comparable<APSMediaOverlay.APSMediaOverlayPosition>, Constable
- Enclosing class:
APSMediaOverlay
public static enum APSMediaOverlay.APSMediaOverlayPosition
extends Enum<APSMediaOverlay.APSMediaOverlayPosition>
Describes the position the overlay should take when placed on-screen by the player.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe overlay should be placed centrally at the bottom of the player surface.The overlay should be bottom-left aligned with the player surface.The overlay should be bottom-right aligned with the player surface.The overlay should be stretched to fit the whole player surface.The overlay should be vertically centered to the left of the player surface.The overlay should be vertically centered to the right of the player surface.The overlay should be placed centrally in the top of the player surface.The overlay should be top-left aligned with the player surface.The overlay should be top-right aligned with the player surface.The overlay will not be placed on screen. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
kAPSMediaOverlayPositionFullscreen
The overlay should be stretched to fit the whole player surface. -
kAPSMediaOverlayPositionBottomLeft
The overlay should be bottom-left aligned with the player surface. -
kAPSMediaOverlayPositionBottomRight
The overlay should be bottom-right aligned with the player surface. -
kAPSMediaOverlayPositionTopLeft
The overlay should be top-left aligned with the player surface. -
kAPSMediaOverlayPositionTopRight
The overlay should be top-right aligned with the player surface. -
kAPSMediaOverlayPositionTop
The overlay should be placed centrally in the top of the player surface. -
kAPSMediaOverlayPositionBottom
The overlay should be placed centrally at the bottom of the player surface. -
kAPSMediaOverlayPositionLeft
The overlay should be vertically centered to the left of the player surface. -
kAPSMediaOverlayPositionRight
The overlay should be vertically centered to the right of the player surface. -
kAPSMediaOverlayPositionUnspecified
The overlay will not be placed on screen.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-