Interface UnityMediaPlayer

Index

Methods

Methods

public getPlaybackstate(response: Function): any

Parameters

  • response: Function

Returns

any

public onNext(onNextCallback: Function): any

Parameters

  • onNextCallback: Function

Returns

any

public onPlayPause(onPlayPauseCallback: Function): any

Parameters

  • onPlayPauseCallback: Function

Returns

any

public onPrevious(onPreviousCallback: Function): any

Parameters

  • onPreviousCallback: Function

Returns

any

public setCanGoNext(cangonext: Boolean): any

Parameters

  • cangonext: Boolean

Returns

any

public setCanGoPrev(cangoprev: Boolean): any

Parameters

  • cangoprev: Boolean

Returns

any

public setCanPause(canpause: Boolean): any

Parameters

  • canpause: Boolean

Returns

any

public setCanPlay(canplay: Boolean): any

Parameters

  • canplay: Boolean

Returns

any

public setPlaybackstate(state: UnityPlaybackState): any

Parameters

Returns

any

public setTrack(trackMetadata: UnityTrackMetadata): any

Parameters

Returns

any