Click or drag to resize

ControllerProxy Methods

The ControllerProxy type exposes the following members.

Methods
  NameDescription
Protected methodCastAJO
Public methodDispose
Releases native components and hooks
Public methodGetBufferLevel01RelativeToDuration
Get's the normalized buffer level as "the last contiguously cached nanosecond from the current position / total duration in nanoseconds".

TL;DR: use it as the normalizedValue for a Slider to display the currently buffered amount in seconds

Public methodGetDebugInfo
Gets the debug info into the specified string
Public methodGetDurationSeconds
Public methodGetNormalizedBufferHealth
values >=1 mean a low probability of interrruptions. the closer to 0, the bigger the chance of interruptions
Public methodGetPlayWhenReady
Public methodGetProgress01
Get's the normalized progress
Public methodGetProgressSeconds
The currenttly played position
Public methodGetVolume
Protected methodLoad_SkipChecks
Protected methodonDestroyView
Protected methodonInitializationError
Protected methodonInitialized
Called from the native side when the native controller is initialized
Protected methodonRelease
Public methodRequestSeek01
Requests a seek
Protected methodRequestSeek01_SkipChecks
Public methodRequestSetVolume
Requesting to set the volume
Public methodSetCollectDebugInfo
If to collect debug info. May slow down the framerate a little bit
Public methodSetPlayWhenReady
Sets if to play the media after it's loaded (in case it's loading or will load). OR sets if to play/pause the media in case it's ready for playback or already playing
Public methodStopPlaybackAndLoading
Stops everything. Useful when shutting down the player.

A new Load() call should be done in order to re-use the player, in case disposal was not intended

Protected methodStopPlaybackAndLoading_SkipChecks
Top
See Also