public class APSMediaPlayerHTMLOverlayController extends APSMediaPlayerClosableOverlayController
To create an APSMediaOverlay of HTML type:
type property to APSHTMLOverlayset the overlay object’s properties property to a HashMap that can have the following keys and values:
String to be loaded.String containing the URL that should be loaded inside an iframe element.String containing the URL of the JavaScript file that should be loaded and executed.String containing the URL to load directly in the webview container.Integer corresponding to the integer value to be set for the meta viewport width property.Integer corresponding to the integer value to be set for the meta viewport height property.ArrayList containing Strings to be tracked in case of error.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
APSHTMLOverlay |
static java.lang.String |
kAPSHTMLCodeContent |
static java.lang.String |
kAPSHTMLErrorURLs |
static java.lang.String |
kAPSHTMLHeight |
static java.lang.String |
kAPSHTMLIframeSource |
static java.lang.String |
kAPSHTMLOverlayWebviewDismissAction |
static java.lang.String |
kAPSHTMLPageSource |
static java.lang.String |
kAPSHTMLScriptSource |
static java.lang.String |
kAPSHTMLWidth |
kAPSCloseBackgroundColor, kAPSCloseFinalAlpha, kAPSCloseHidden, kAPSCloseImage, kAPSCloseInitialAlpha, kAPSCloseOffset, kAPSCloseOffsetX, kAPSCloseOffsetY, kAPSCloseProgressColor, kAPSCloseProgressTrackColor, kAPSCloseSize, kAPSCloseTrackingURLs, kAPSCloseXColoroverlay| Constructor and Description |
|---|
APSMediaPlayerHTMLOverlayController() |
| Modifier and Type | Method and Description |
|---|---|
void |
addViewToContainer(ViewGroup viewGroup) |
float |
getAlpha() |
View |
getView() |
void |
hideOverlay() |
void |
load(Context context) |
java.lang.String |
type() |
activateButton, removeCloseButtonrefreshpublic static final java.lang.String kAPSHTMLCodeContent
public static final java.lang.String kAPSHTMLIframeSource
public static final java.lang.String kAPSHTMLScriptSource
public static final java.lang.String kAPSHTMLPageSource
public static final java.lang.String kAPSHTMLWidth
public static final java.lang.String kAPSHTMLHeight
public static final java.lang.String kAPSHTMLErrorURLs
public static final java.lang.String kAPSHTMLOverlayWebviewDismissAction
public static final java.lang.String APSHTMLOverlay
public java.lang.String type()
type in interface KRAdaptertype in class APSMediaPlayerClosableOverlayControllerpublic void load(Context context)
load in class APSMediaPlayerClosableOverlayControllerpublic void addViewToContainer(ViewGroup viewGroup)
addViewToContainer in class APSMediaPlayerClosableOverlayControllerpublic void hideOverlay()
hideOverlay in class APSMediaPlayerClosableOverlayControllerpublic View getView()
getView in class APSMediaPlayerClosableOverlayControllerpublic float getAlpha()
getAlpha in class APSMediaPlayerClosableOverlayController