Click or drag to resize
MediaPlayerImageOverlayController Class
The MediaPlayerImageOverlayController allows placing an image on top of video content.
Inheritance Hierarchy

Namespace: Veeplay.overlaycontrollers
Assembly: Veeplay (in Veeplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class MediaPlayerImageOverlayController : MediaPlayerClosableOverlayController

The MediaPlayerImageOverlayController type exposes the following members.

Constructors
  NameDescription
Public methodMediaPlayerImageOverlayController
Initializes a new instance of the MediaPlayerImageOverlayController class
Top
Methods
  NameDescription
Public methodaddCloseButtonWithParameters (Inherited from MediaPlayerClosableOverlayController.)
Public methodaddViewToContainer
Add the overlay to container. From base class MediaPlayerClosableOverlayController
(Overrides MediaPlayerClosableOverlayControlleraddViewToContainer(Panel).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodgetAlpha
Get opacity level
(Overrides MediaPlayerClosableOverlayControllergetAlpha.)
Public methodgetBitmapImageFromByteArrayAsync (Inherited from MediaPlayerClosableOverlayController.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodgetImageAsync
get the BitmapImage from the ImageOverlayResourceURL parameter
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodgetView
Get the view holder
Public methodhideOverlay
Hide Overlay
(Overrides MediaPlayerClosableOverlayControllerhideOverlay.)
Public methodload
Load control
(Overrides MediaPlayerClosableOverlayControllerload.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodpreload
Preload Image
Public methodsetBitmap
set the current bitmap
Public methodsetBitmapOnView
display the current bitmap
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodtype
Object Type
(Overrides MediaPlayerClosableOverlayControllertype.)
Top
Fields
  NameDescription
Public fieldStatic memberImageOverlay
Image overlay
Public fieldStatic memberImageOverlayBackgroundColor
the background color of the overlay. Set this to a String containing the hex color representation. Defaults to Transparent.
Public fieldStatic memberImageOverlayClickthrough
set this key to a String representing the URL that should be launched when the overlay is tapped.
Public fieldStatic memberImageOverlayClicktracking
set this key to a List of String objects that will be tracked by the player when the overlay is tapped (see MediaPlayer.trackforEvent(ListString, String, MediaTrackingEventsMediaEventType) ). Note that the ImageOverlayClickthrough key must also be set for tracking to happen.
Public fieldStatic memberImageOverlayErrorURLs
set this key to a List of String objects that will be tracked by the player when there is an error loading the image (see MediaPlayer.trackforEvent(ListString, String, MediaTrackingEventsMediaEventType) ).
Public fieldStatic memberImageOverlayResourceURL
String representing the image to be loaded.
Public fieldStatic memberImageOverlayStretchMode
String representing the possible ways of scaling the image in the overlay surface.
Public fieldStatic memberImageOverlayViewtracking
set this key to a List of String objects that will be tracked by the player when the overlay is displayed (see MediaPlayer.trackforEvent(ListString, String, MediaTrackingEventsMediaEventType) ).
Public fieldStatic memberImageOverlayWebviewDismissAction
representing WebView overlay behavior
Public fieldoverlay (Inherited from MediaPlayerOverlayController.)
Top
See Also