MediaPlayer Class |
Namespace: Veeplay.media
The MediaPlayer type exposes the following members.
Name | Description | |
---|---|---|
adapterForType |
Returns an object of the specified type, if such an object is currently registered in the default group.
(Inherited from KRHub.) | |
adapterForTypeInGroup |
Returns an object of the specified type, if such an object is currently registered in the specified group.
(Inherited from KRHub.) | |
adaptersForGroup |
Returns the list of available registered objects for a specified group.
(Inherited from KRHub.) | |
addTrackingEventHandler | ||
back |
Proceeds to the previous unit in the playlist.
| |
controlsOverlay | ||
createTimer | ||
currentPlaybackTime |
Returns the current playback time.
| |
currentPlaybackTime(Boolean) |
Returns the current playback time.
| |
currentUnit |
Returns the currently playing MediaUnit.
| |
duration | ||
durationAvailable | ||
emitEvent | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
finish | ||
getCurrentPlayingUrl | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
getInstance | ||
getMainView |
The container UIElement of the player.
| |
getOverlayContainer | ||
getPage | ||
getPlaylist | ||
getRendererView | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
hideHud |
Hides the player activity indicator.
| |
init | ||
isFullscreen | ||
isMediaEvent | ||
isMediaUnit | ||
isPlaying |
Returns a bool value specifing if the player is currently playing a playlist of units (read-only).
| |
isProcessing |
Returns a Boolean value specifing if the player is currently rendering a playlist of units (read-only).
| |
isStreamingUrl | ||
loadStatePlayable |
Checks the state of the unit to be played
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
movieSourceTypeIsLiveStream | ||
next |
Proceeds to the next unit in the playlist and sends an exit event.
| |
openURL |
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.
| |
pause |
Pauses playback of the current unit.
| |
performPostTapAction |
Call this method in the onActivityResult callback of the activity linked to the player.
| |
play |
Starts playback of the current unit.
| |
playbackState |
Returns the current unit's playback state.
| |
playbackStateChanged | ||
player | ||
playMediaUnits |
Sets and begins playback of an list of MediaUnit.
| |
playVideo | ||
registerAdapter |
Registers a new adapter to the default group.
(Inherited from KRHub.) | |
registerAdapterInGroup |
Registers a new adapter to a specific group
(Inherited from KRHub.) | |
registerClass |
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.) | |
registerClassInGroup |
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.) | |
removeMediaUnits | ||
removeTrackingEventHandler | ||
resetDisplayedOverlays | ||
resumePlay |
Resumes playback of the current unit.
| |
seekTo |
Sets the current playback time. (In miliseconds)
| |
setMediaUnits |
Sets new units to the playlist, clearing any old ones.
| |
setSize | ||
shouldAutoplay |
Checks if currentUnit is not null
| |
showHud |
Shows the player activity indicator.
| |
skip |
Proceeds to the next unit in the playlist and sends a skip event.
| |
startVideoPlayback | ||
step | ||
stop |
Stops playback of the current unit.
| |
toggleFullscreen |
Toggle the current fullscreen status
| |
togglePlayback |
Toggles playback of the current unit.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
unitFinished | ||
updateDisplayedOverlays | ||
updateOverlay |
Name | Description | |
---|---|---|
_eventsToInsert | ||
_eventsToTrigger | ||
_ignoredEvents | ||
_overlaysDisplayed | ||
_preloadedEvents | ||
_triggeredEvents | ||
actionDelegate |
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.
| |
advertisingIdentifier | ||
MediaPlayerDRMPluginsGroup | ||
MediaPlayerFrameworkExtensionsGroup | ||
MediaPlayerOverlayControllersGroup |
The group name that 3rd party overlay controllers must use when registering with the player.
| |
MediaPlayerRenderersGroup |
Posted when a trackable playback event occurs. The userinfo dictionary contains additional information about the tracked event:
| |
MoviePlayerControlsDisplayedNotification |
Posted when the video controls bar becomes visible
| |
MoviePlayerControlsHiddenNotification |
Posted when the video controls bar becomes hidden
| |
MoviePlayerErrorNotification |
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.
| |
MoviePlayerFinishedNotification | ||
MoviePlayerStatusChangedNotification |
Posted when the media player playback state has changed. You can immediately get the new state using the playbackState method of the MediaPlayer instance.
| |
MoviePlayerUpdateNotification |
Posted every time the internal status of the MediaPlayer changes. This will happen roughly once every second.
| |
MoviePlayerWasTappedNotification |
Posted when the user taps on the media player surface
| |
selectedRenderer |
Name | Description | |
---|---|---|
debugLevel |
Sets or gets the level of verbosity of debugMode
| |
debugMode |
Sets or gets a bool that enables debug mode of the library
|
Name | Description | |
---|---|---|
PlayerEvent |
Occurs when the player changes state or an event (tracking, clock, tapped) is triggered.
|