public class APSMediaPlayerClosableOverlayController extends APSMediaPlayerOverlayController
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
kAPSCloseBackgroundColor
the background color of the close button view.
|
static java.lang.String |
kAPSCloseFinalAlpha
a Number indicating the opacity of the close button after it has been activated for receiving taps.
|
static java.lang.String |
kAPSCloseHidden
set this key to @YES to skip displaying the close button for this overlay.
|
static java.lang.String |
kAPSCloseImage
if set to a UIImage, that image will be used instead of the standard progress-wheel close button.
|
static java.lang.String |
kAPSCloseInitialAlpha
a Number indicating the opacity of the close button before it is activated for receiving taps.
|
static java.lang.String |
kAPSCloseOffset
a Number that indicates the offset, in seconds, after which the close button should become activated for receiving taps.
|
static java.lang.String |
kAPSCloseOffsetX
the horizontal offset of the close button, relative to the right margin of the overlay's view.
|
static java.lang.String |
kAPSCloseOffsetY
the vertical offset of the close button, relative to the top margin of the overlay's view.
|
static java.lang.String |
kAPSCloseProgressColor
the color of the circular bar that indicates the currently elapsed time until the close button can be tapped.
|
static java.lang.String |
kAPSCloseProgressTrackColor
the color of the circular bar that indicates the total time until the close button can be tapped.
|
static java.lang.String |
kAPSCloseSize
a Number representing the length of a side of the close button square, in points.
|
static java.lang.String |
kAPSCloseTrackingURLs
a Array of URLs that will be tracked by the player when the close button is tapped and the overlay is removed (see [APSMediaPlayer track:forEvent:type:]).
|
static java.lang.String |
kAPSCloseXColor
the color of the X symbol in the center of the player.
|
overlay| Constructor and Description |
|---|
APSMediaPlayerClosableOverlayController() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateButton() |
void |
addViewToContainer(ViewGroup viewGroup) |
float |
getAlpha() |
View |
getView() |
void |
hideOverlay() |
void |
load(Context context) |
void |
removeCloseButton()
This method removes the close button from the current view stack.
|
java.lang.String |
type() |
refreshpublic static final java.lang.String kAPSCloseImage
public static final java.lang.String kAPSCloseSize
public static final java.lang.String kAPSCloseBackgroundColor
public static final java.lang.String kAPSCloseXColor
public static final java.lang.String kAPSCloseProgressColor
public static final java.lang.String kAPSCloseProgressTrackColor
public static final java.lang.String kAPSCloseOffsetX
public static final java.lang.String kAPSCloseOffsetY
public static final java.lang.String kAPSCloseInitialAlpha
public static final java.lang.String kAPSCloseFinalAlpha
public static final java.lang.String kAPSCloseHidden
public static final java.lang.String kAPSCloseOffset
public static final java.lang.String kAPSCloseTrackingURLs
public APSMediaPlayerClosableOverlayController()
public void removeCloseButton()
public void activateButton()
public float getAlpha()
getAlpha in class APSMediaPlayerOverlayControllerpublic java.lang.String type()
public void load(Context context)
load in class APSMediaPlayerOverlayControllerpublic void addViewToContainer(ViewGroup viewGroup)
addViewToContainer in class APSMediaPlayerOverlayControllerpublic View getView()
getView in class APSMediaPlayerOverlayControllerpublic void hideOverlay()
hideOverlay in class APSMediaPlayerOverlayController