Click or drag to resize
MediaPlayerButtonOverlayController Class
The MediaPlayerButtonOverlayController allows placing a transparent overlay in a specific area of the player surface, that can trigger the launch of a specific URL. The MediaPlayer instance will query the actionDelegate object to interpret and launch the specified URL. If the actionDelegate cannot respond to the URL, and the URL has a web scheme (http or https), it will be launched automatically in the in-app web browser.
Inheritance Hierarchy
SystemObject
  Veeplay.overlaycontrollersMediaPlayerOverlayController
    Veeplay.overlaycontrollersMediaPlayerButtonOverlayController

Namespace: Veeplay.overlaycontrollers
Assembly: Veeplay (in Veeplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class MediaPlayerButtonOverlayController : MediaPlayerOverlayController

The MediaPlayerButtonOverlayController type exposes the following members.

Constructors
  NameDescription
Public methodMediaPlayerButtonOverlayController
Initializes a new instance of the MediaPlayerButtonOverlayController class
Top
Methods
  NameDescription
Public methodaddViewToContainer (Overrides MediaPlayerOverlayControlleraddViewToContainer(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 (Overrides MediaPlayerOverlayControllergetAlpha.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodgetView (Overrides MediaPlayerOverlayControllergetView.)
Public methodhideOverlay (Overrides MediaPlayerOverlayControllerhideOverlay.)
Public methodload (Overrides MediaPlayerOverlayControllerload.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodtype (Overrides MediaPlayerOverlayControllertype.)
Top
Fields
  NameDescription
Public fieldStatic memberButtonOverlay
Public fieldStatic memberButtonOverlayClickthrough
String representing the URL that should be launched when the overlay is tapped.
Public fieldStatic memberButtonOverlayClicktracking
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 ButtonOverlayClickthrough key must also be set for tracking to happen
Public fieldStatic memberButtonOverlayWebviewDismissAction
Public fieldoverlay (Inherited from MediaPlayerOverlayController.)
Top
See Also