Click or drag to resize

AdaptiveCacheControllerProxy Class

Contains functionality specific to the AdaptiveCache native part
Inheritance Hierarchy
SystemObject
  AndroidJavaProxy
    frame8.Logic.Media.MediaPlayerControllerProxy
      frame8.Logic.Media.MediaPlayerAdaptiveCacheControllerProxy

Namespace:  frame8.Logic.Media.MediaPlayer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class AdaptiveCacheControllerProxy : ControllerProxy

The AdaptiveCacheControllerProxy type exposes the following members.

Constructors
Methods
  NameDescription
Public methodDispose (Overrides ControllerProxyDispose.)
Public methodGetBufDebugLine1
See AdaptiveCacheDebugPanel
Public methodGetBufDebugLine1(Char)
See AdaptiveCacheDebugPanel
Public methodGetBufDebugLine2
See AdaptiveCacheDebugPanel
Public methodGetBufDebugLine2(Char)
See AdaptiveCacheDebugPanel
Public methodIsSpeedTestPhase
If the speed test is running. This happens for a (heuristically) determined amount of time, when a new video is loaded
Public methodLoad
In the adaptive cache plugin, callbacks need to be provided, because it takes significantly more time to load a media source and there are several possible errors to be handled
Protected methodonInitialized (Overrides ControllerProxyonInitialized(AndroidJavaObject).)
Public methodRequestSeek01(Double)
Use the other overload to also receive callbacks
(Overrides ControllerProxyRequestSeek01(Double).)
Public methodRequestSeek01(Double, ActionDouble, ActionString, AndroidJavaObject)
Same as with Load(_,_,_), this one is a request, not a command. Callbacks are your friend
Public methodStopPlaybackAndLoading
Use the other overload to also receive callbacks
(Overrides ControllerProxyStopPlaybackAndLoading.)
Public methodStopPlaybackAndLoading(Action, ActionString, AndroidJavaObject)
Stops everything. Useful when shutting down the player. Note that this AdaptiveCache version is used with callbacks, as opposed to base version

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

Top
Fields
See Also