Class NativeMediaPlayer
Inheritance
object
NativeMediaPlayer
Assembly: .dll
public class NativeMediaPlayer : MonoBehaviour
Fields
|
Edit this page
View Source
Declaration
public MediaControlEventsReceiver mediaControlEventsReceiver
Field Value
|
Edit this page
View Source
Declaration
public PlaybackStateEventsReceiver playbackStateEventsReceiver
Field Value
Properties
|
Edit this page
View Source
Declaration
public static NativeMediaPlayer Instance { get; }
Property Value
Methods
|
Edit this page
View Source
Declaration
public void OnPlaybackStateChanged(PlaybackState playbackState)
Parameters
|
Edit this page
View Source
Declaration
public void OnRepeatModeChanged(RepeatMode repeatMode)
Parameters
|
Edit this page
View Source
Declaration
public void OnShuffleModeEnabledChanged(bool enabled)
Parameters
Type |
Name |
Description |
bool |
enabled |
|
|
Edit this page
View Source
Declaration
public void UnityReceiveDownloadProgress(string fileNameAndProgress)
Parameters
Type |
Name |
Description |
string |
fileNameAndProgress |
|
|
Edit this page
View Source
Declaration
public void UnityReceiveError(string error)
Parameters
Type |
Name |
Description |
string |
error |
|
|
Edit this page
View Source
Declaration
public void UnityReceiveMediaItemTransition(string mediaItemIid)
Parameters
Type |
Name |
Description |
string |
mediaItemIid |
|
|
Edit this page
View Source
Declaration
public void UnityReceiveMessage(string state)
Parameters
Type |
Name |
Description |
string |
state |
|