Click or drag to resize
MediaPlayer Class
Inheritance Hierarchy

Namespace: Veeplay.media
Assembly: Veeplay (in Veeplay.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class MediaPlayer : KRHub

The MediaPlayer type exposes the following members.

Methods
  NameDescription
Public methodadapterForType
Returns an object of the specified type, if such an object is currently registered in the default group.
(Inherited from KRHub.)
Public methodadapterForTypeInGroup
Returns an object of the specified type, if such an object is currently registered in the specified group.
(Inherited from KRHub.)
Public methodadaptersForGroup
Returns the list of available registered objects for a specified group.
(Inherited from KRHub.)
Public methodaddTrackingEventHandler
Public methodback
Proceeds to the previous unit in the playlist.
Public methodcontrolsOverlay
Public methodcreateTimer
Public methodcurrentPlaybackTime
Returns the current playback time.
Public methodcurrentPlaybackTime(Boolean)
Returns the current playback time.
Public methodcurrentUnit
Returns the currently playing MediaUnit.
Public methodduration
Public methoddurationAvailable
Public methodemitEvent
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 methodfinish
Public methodgetCurrentPlayingUrl
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic membergetInstance
Public methodgetMainView
The container UIElement of the player.
Public methodgetOverlayContainer
Public methodgetPage
Public methodgetPlaylist
Public methodgetRendererView
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodhideHud
Hides the player activity indicator.
Public methodinit
Public methodisFullscreen
Public methodisMediaEvent
Public methodisMediaUnit
Public methodisPlaying
Returns a bool value specifing if the player is currently playing a playlist of units (read-only).
Public methodisProcessing
Returns a Boolean value specifing if the player is currently rendering a playlist of units (read-only).
Public methodisStreamingUrl
Public methodloadStatePlayable
Checks the state of the unit to be played
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodmovieSourceTypeIsLiveStream
Public methodnext
Proceeds to the next unit in the playlist and sends an exit event.
Public methodopenURL
Instructs the player that a new URL needs to be interpreted and executed. This method will first ask the actionDelegate to respond to the given URL. If the actionDelegate declines to respond and the URL has a web scheme (`http://� or 'https://') then an in-app web browser window will be displayed modally.
Public methodpause
Pauses playback of the current unit.
Public methodperformPostTapAction
Call this method in the onActivityResult callback of the activity linked to the player.
Public methodplay
Starts playback of the current unit.
Public methodplaybackState
Returns the current unit's playback state.
Public methodplaybackStateChanged
Public methodplayer
Public methodplayMediaUnits
Sets and begins playback of an list of MediaUnit.
Public methodplayVideo
Public methodregisterAdapter
Registers a new adapter to the default group.
(Inherited from KRHub.)
Public methodregisterAdapterInGroup
Registers a new adapter to a specific group
(Inherited from KRHub.)
Public methodregisterClass
Registers a class to the default group, under a specific type. Upon requesting a new object from this type from the default group, a new object of the registered class will be instantiated and returned.
(Inherited from KRHub.)
Public methodregisterClassInGroup
Registers a class to a specific group and a specific type. Upon requesting a new object from this group and type, a new object of the registered class will be instantiated and returned.
(Inherited from KRHub.)
Public methodremoveMediaUnits
Public methodremoveTrackingEventHandler
Public methodresetDisplayedOverlays
Public methodresumePlay
Resumes playback of the current unit.
Public methodseekTo
Sets the current playback time. (In miliseconds)
Public methodsetMediaUnits
Sets new units to the playlist, clearing any old ones.
Public methodsetSize
Public methodshouldAutoplay
Checks if currentUnit is not null
Public methodshowHud
Shows the player activity indicator.
Public methodskip
Proceeds to the next unit in the playlist and sends a skip event.
Public methodstartVideoPlayback
Public methodstep
Public methodstop
Stops playback of the current unit.
Public methodtoggleFullscreen
Toggle the current fullscreen status
Public methodtogglePlayback
Toggles playback of the current unit.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodunitFinished
Public methodupdateDisplayedOverlays
Public methodupdateOverlay
Top
Fields
  NameDescription
Public field_eventsToInsert
Public field_eventsToTrigger
Public field_ignoredEvents
Public field_overlaysDisplayed
Public field_preloadedEvents
Public field_triggeredEvents
Public fieldactionDelegate
The player's action delegate. Any intent to execute specific URLs as a result of user interaction will be notified to the delegate for action.
Public fieldadvertisingIdentifier
Public fieldStatic memberMediaPlayerDRMPluginsGroup
Public fieldStatic memberMediaPlayerFrameworkExtensionsGroup
Public fieldStatic memberMediaPlayerOverlayControllersGroup
The group name that 3rd party overlay controllers must use when registering with the player.
Public fieldStatic memberMediaPlayerRenderersGroup
Posted when a trackable playback event occurs. The userinfo dictionary contains additional information about the tracked event:
Public fieldStatic memberMoviePlayerControlsDisplayedNotification
Posted when the video controls bar becomes visible
Public fieldStatic memberMoviePlayerControlsHiddenNotification
Posted when the video controls bar becomes hidden
Public fieldStatic memberMoviePlayerErrorNotification
Posted when the MediaPlayer encounters an error in the process of unit playback. The userInfo dictionary contains the Exception object that represents the error under the error key.
Public fieldStatic memberMoviePlayerFinishedNotification
Posted when a MediaUnit finishes playback, before the remaining playlist units are processed. The userInfo dictionary contains the MediaUnit object that just finished playback under the unit key.
Public fieldStatic memberMoviePlayerStatusChangedNotification
Posted when the media player playback state has changed. You can immediately get the new state using the playbackState method of the MediaPlayer instance.
Public fieldStatic memberMoviePlayerUpdateNotification
Posted every time the internal status of the MediaPlayer changes. This will happen roughly once every second.
Public fieldStatic memberMoviePlayerWasTappedNotification
Posted when the user taps on the media player surface
Public fieldselectedRenderer
Top
Properties
  NameDescription
Public propertyStatic memberdebugLevel
Sets or gets the level of verbosity of debugMode
Public propertyStatic memberdebugMode
Sets or gets a bool that enables debug mode of the library
Top
Events
  NameDescription
Public eventPlayerEvent
Occurs when the player changes state or an event (tracking, clock, tapped) is triggered.
Top
See Also