Skip to main content
Version: 20 Mar 2024

MLMediaPlayerEventCallbacksEx

Callbacks for notifying client about

Public Methods

MLMediaPlayerEventCallbacksEx Create

Create and return an initialized version of this struct.

public static MLMediaPlayerEventCallbacksEx Create()

Returns: A new instance of this struct.


Public Attributes

OnBufferingUpdate

This callback function is invoked when buffered contents percentage changed.


public OnBufferingUpdateDelegate OnBufferingUpdate;

TypeDescription
OnBufferingUpdateDelegateDelegate for the the OnBufferingUpdate event.

OnCompletion

This callback is invoked when media player played back until end of media and has now come to a stop. Note that this callback does not fire when 'looping = true', because


public OnCompletionDelegate OnCompletion;


OnError

This callback function is invoked when media player encounters an error.


public OnErrorDelegate OnError;

TypeDescription
OnErrorDelegateDelegate for the any OnError event.

OnFramePacking

This callback function is invoked when a stereoscopic video frame packing change.


public OnFramePackingDelegate OnFramePacking;


OnInfo

This callback function is invoked when


public OnInfoDelegate OnInfo;

TypeDescription
OnInfoDelegateDelegate for the the OnInfo event.

OnPrepared

This callback is invoked when the player has finished preparing media and is ready to playback.


public OnPreparedDelegate OnPrepared;


OnResetComplete

This callback function is invoked when an async reset operation has completed.


public OnResetCompleteDelegate OnResetComplete;


OnSeekComplete

This callback function is invoked when a seek operation has completed.


public OnSeekCompleteDelegate OnSeekComplete;


OnTrackDRMInfo

This callback function is invoked when source has DRM protected media track(s).


public OnTrackDRMInfoDelegate OnTrackDRMInfo;


OnVideoSizeChanged

This callback function is invoked when the internal surface has changed size.


public OnVideoSizeChangedDelegate OnVideoSizeChanged;

TypeDescription
OnVideoSizeChangedDelegateDelegate for the any OnVideoSizeChanged event.