Click or drag to resize
MediaPlayerClosableOverlayController Class
The MediaPlayerClosableOverlayController class is meant to be a superclass for overlay controllers that need to display a configurable close button to remove the overlay from screen. The class adds a set of standard keys to any overlay controller's own defined keys, to handle close button configuration. Methods are also exposed to allow a subclass to add and remove the close button from its view stack.
Inheritance Hierarchy

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

The MediaPlayerClosableOverlayController type exposes the following members.

Constructors
  NameDescription
Public methodMediaPlayerClosableOverlayController
Initializes a new instance of the MediaPlayerClosableOverlayController class
Top
Methods
  NameDescription
Public methodaddCloseButtonWithParameters
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 methodgetBitmapImageFromByteArrayAsync
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 memberCloseBackgroundColor
the background color of the close button view. Set this to a Color or a String containing the hex color representation. Defaults to Transparent.
Public fieldStatic memberCloseFinalAlpha
A Integer indicating the opacity of the close button after it has been activated for receiving taps. Defaults to 0.7.
Public fieldStatic memberCloseHidden
Set this key to true to skip displaying the close button for this overlay. Defaults to false.
Public fieldStatic memberCloseImage
If set to a Image, that image will be used instead of the standard progress-wheel close button.
Public fieldStatic memberCloseInitialAlpha
A Integer indicating the opacity of the close button before it is activated for receiving taps. Defaults to 0.5.
Public fieldStatic memberCloseOffset
A Integer that indicates the offset, in seconds, after which the close button should become activated for receiving taps. Defaults to 3.
Public fieldStatic memberCloseOffsetX
the horizontal offset of the close button, relative to the right margin of the overlay's view. Set this to a Number. Defaults to 0.
Public fieldStatic memberCloseOffsetY
the vertical offset of the close button, relative to the top margin of the overlay's view. Set this to a Number. Defaults to 0.
Public fieldStatic memberCloseProgressColor
the color of the circular bar that indicates the currently elapsed time until the close button can be tapped. Set this to a String containing the hex color representation. Defaults to DarkGray.
Public fieldStatic memberCloseProgressTrackColor
the color of the circular bar that indicates the total time until the close button can be tapped. Set this to a NString containing the hex color representation. Defaults to LightGray.
Public fieldStatic memberCloseSize
a Number representing the length of a side of the close button square, in points. Defaults to 16.
Public fieldStatic memberCloseTrackingURLs
A list of URLs that will be tracked by the player when the close button is tapped and the overlay is removed (see MediaPlayer.trackforEvent(ListString, String, MediaTrackingEventsMediaEventType) ).
Public fieldStatic memberCloseXColor
the color of the X symbol in the center of the player. Set this to a String containing the hex color representation. Defaults to [Color darkGrayColor].
Public fieldoverlay (Inherited from MediaPlayerOverlayController.)
Top
See Also