Table of Contents

Class MediaPlayer

Namespace
Android.Media
Assembly
MASES.Netdroid.dll
public class MediaPlayer : JVMBridgeBase<MediaPlayer>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IVolumeAutomation, IAudioRouting
Inheritance
JVMBridgeBase
JVMBridgeBase<MediaPlayer>
MediaPlayer
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<MediaPlayer>.IsAssignableFrom(IJavaType)
JVMBridgeBase<MediaPlayer>.IsAssignableFrom<T>()
JVMBridgeBase<MediaPlayer>.Execute<T>(params T[])
JVMBridgeBase<MediaPlayer>.DynBridgeClazz
JVMBridgeBase<MediaPlayer>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

MediaPlayer()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public MediaPlayer()

MediaPlayer(Context)

public MediaPlayer(Context arg0)

Parameters

arg0 Context

Context

MediaPlayer(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public MediaPlayer(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

MEDIA_ERROR_IO

public static int MEDIA_ERROR_IO { get; }

Property Value

int

MEDIA_ERROR_MALFORMED

public static int MEDIA_ERROR_MALFORMED { get; }

Property Value

int

MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK

public static int MEDIA_ERROR_NOT_VALID_FOR_PROGRESSIVE_PLAYBACK { get; }

Property Value

int

MEDIA_ERROR_SERVER_DIED

public static int MEDIA_ERROR_SERVER_DIED { get; }

Property Value

int

MEDIA_ERROR_TIMED_OUT

public static int MEDIA_ERROR_TIMED_OUT { get; }

Property Value

int

MEDIA_ERROR_UNKNOWN

public static int MEDIA_ERROR_UNKNOWN { get; }

Property Value

int

MEDIA_ERROR_UNSUPPORTED

public static int MEDIA_ERROR_UNSUPPORTED { get; }

Property Value

int

MEDIA_INFO_AUDIO_NOT_PLAYING

public static int MEDIA_INFO_AUDIO_NOT_PLAYING { get; }

Property Value

int

MEDIA_INFO_BAD_INTERLEAVING

public static int MEDIA_INFO_BAD_INTERLEAVING { get; }

Property Value

int

MEDIA_INFO_BUFFERING_END

public static int MEDIA_INFO_BUFFERING_END { get; }

Property Value

int

MEDIA_INFO_BUFFERING_START

public static int MEDIA_INFO_BUFFERING_START { get; }

Property Value

int

MEDIA_INFO_METADATA_UPDATE

public static int MEDIA_INFO_METADATA_UPDATE { get; }

Property Value

int

MEDIA_INFO_NOT_SEEKABLE

public static int MEDIA_INFO_NOT_SEEKABLE { get; }

Property Value

int

MEDIA_INFO_STARTED_AS_NEXT

public static int MEDIA_INFO_STARTED_AS_NEXT { get; }

Property Value

int

MEDIA_INFO_SUBTITLE_TIMED_OUT

public static int MEDIA_INFO_SUBTITLE_TIMED_OUT { get; }

Property Value

int

MEDIA_INFO_UNKNOWN

public static int MEDIA_INFO_UNKNOWN { get; }

Property Value

int

MEDIA_INFO_UNSUPPORTED_SUBTITLE

public static int MEDIA_INFO_UNSUPPORTED_SUBTITLE { get; }

Property Value

int

MEDIA_INFO_VIDEO_NOT_PLAYING

public static int MEDIA_INFO_VIDEO_NOT_PLAYING { get; }

Property Value

int

MEDIA_INFO_VIDEO_RENDERING_START

public static int MEDIA_INFO_VIDEO_RENDERING_START { get; }

Property Value

int

MEDIA_INFO_VIDEO_TRACK_LAGGING

public static int MEDIA_INFO_VIDEO_TRACK_LAGGING { get; }

Property Value

int

MEDIA_MIMETYPE_TEXT_SUBRIP

[Obsolete]
public static String MEDIA_MIMETYPE_TEXT_SUBRIP { get; }

Property Value

String

PREPARE_DRM_STATUS_PREPARATION_ERROR

public static int PREPARE_DRM_STATUS_PREPARATION_ERROR { get; }

Property Value

int

PREPARE_DRM_STATUS_PROVISIONING_NETWORK_ERROR

public static int PREPARE_DRM_STATUS_PROVISIONING_NETWORK_ERROR { get; }

Property Value

int

PREPARE_DRM_STATUS_PROVISIONING_SERVER_ERROR

public static int PREPARE_DRM_STATUS_PROVISIONING_SERVER_ERROR { get; }

Property Value

int

PREPARE_DRM_STATUS_SUCCESS

public static int PREPARE_DRM_STATUS_SUCCESS { get; }

Property Value

int

SEEK_CLOSEST

public static int SEEK_CLOSEST { get; }

Property Value

int

SEEK_CLOSEST_SYNC

public static int SEEK_CLOSEST_SYNC { get; }

Property Value

int

SEEK_NEXT_SYNC

public static int SEEK_NEXT_SYNC { get; }

Property Value

int

SEEK_PREVIOUS_SYNC

public static int SEEK_PREVIOUS_SYNC { get; }

Property Value

int

VIDEO_SCALING_MODE_SCALE_TO_FIT

public static int VIDEO_SCALING_MODE_SCALE_TO_FIT { get; }

Property Value

int

VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING

public static int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING { get; }

Property Value

int

Methods

AddOnRoutingChangedListener(OnRoutingChangedListener, Handler)

public void AddOnRoutingChangedListener(AudioRouting.OnRoutingChangedListener arg0, Handler arg1)

Parameters

arg0 AudioRouting.OnRoutingChangedListener

AudioRouting.OnRoutingChangedListener

arg1 Handler

Handler

AddTimedTextSource(Context, Uri, String)

public void AddTimedTextSource(Context arg0, Uri arg1, String arg2)

Parameters

arg0 Context

Context

arg1 Uri

Uri

arg2 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

AddTimedTextSource(FileDescriptor, String)

public void AddTimedTextSource(FileDescriptor arg0, String arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 String

String

Exceptions

IllegalArgumentException
IllegalStateException

AddTimedTextSource(FileDescriptor, long, long, String)

public void AddTimedTextSource(FileDescriptor arg0, long arg1, long arg2, String arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 long

long

arg2 long

long

arg3 String

String

Exceptions

IllegalArgumentException
IllegalStateException

AddTimedTextSource(String, String)

public void AddTimedTextSource(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException

AttachAuxEffect(int)

public void AttachAuxEffect(int arg0)

Parameters

arg0 int

int

ClearOnMediaTimeDiscontinuityListener()

public void ClearOnMediaTimeDiscontinuityListener()

ClearOnSubtitleDataListener()

public void ClearOnSubtitleDataListener()

Create(Context, Uri)

public static MediaPlayer Create(Context arg0, Uri arg1)

Parameters

arg0 Context

Context

arg1 Uri

Uri

Returns

MediaPlayer

MediaPlayer

Create(Context, Uri, SurfaceHolder)

public static MediaPlayer Create(Context arg0, Uri arg1, SurfaceHolder arg2)

Parameters

arg0 Context

Context

arg1 Uri

Uri

arg2 SurfaceHolder

SurfaceHolder

Returns

MediaPlayer

MediaPlayer

Create(Context, Uri, SurfaceHolder, AudioAttributes, int)

public static MediaPlayer Create(Context arg0, Uri arg1, SurfaceHolder arg2, AudioAttributes arg3, int arg4)

Parameters

arg0 Context

Context

arg1 Uri

Uri

arg2 SurfaceHolder

SurfaceHolder

arg3 AudioAttributes

AudioAttributes

arg4 int

int

Returns

MediaPlayer

MediaPlayer

Create(Context, int)

public static MediaPlayer Create(Context arg0, int arg1)

Parameters

arg0 Context

Context

arg1 int

int

Returns

MediaPlayer

MediaPlayer

Create(Context, int, AudioAttributes, int)

public static MediaPlayer Create(Context arg0, int arg1, AudioAttributes arg2, int arg3)

Parameters

arg0 Context

Context

arg1 int

int

arg2 AudioAttributes

AudioAttributes

arg3 int

int

Returns

MediaPlayer

MediaPlayer

CreateVolumeShaper(Configuration)

public VolumeShaper CreateVolumeShaper(VolumeShaper.Configuration arg0)

Parameters

arg0 VolumeShaper.Configuration

VolumeShaper.Configuration

Returns

VolumeShaper

VolumeShaper

DeselectTrack(int)

public void DeselectTrack(int arg0)

Parameters

arg0 int

int

Exceptions

IllegalStateException

GetAudioSessionId()

public int GetAudioSessionId()

Returns

int

int

GetCurrentPosition()

public int GetCurrentPosition()

Returns

int

int

GetDrmInfo()

public MediaPlayer.DrmInfo GetDrmInfo()

Returns

MediaPlayer.DrmInfo

MediaPlayer.DrmInfo

GetDrmPropertyString(String)

public String GetDrmPropertyString(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

MediaPlayer.NoDrmSchemeException

GetDuration()

public int GetDuration()

Returns

int

int

GetKeyRequest(byte[], byte[], String, int, Map<String, String>)

public MediaDrm.KeyRequest GetKeyRequest(byte[] arg0, byte[] arg1, String arg2, int arg3, Map<String, String> arg4)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

arg2 String

String

arg3 int

int

arg4 Map<String, String>

Map

Returns

MediaDrm.KeyRequest

MediaDrm.KeyRequest

Exceptions

MediaPlayer.NoDrmSchemeException

GetMetrics()

public PersistableBundle GetMetrics()

Returns

PersistableBundle

PersistableBundle

GetPlaybackParams()

public PlaybackParams GetPlaybackParams()

Returns

PlaybackParams

PlaybackParams

GetPreferredDevice()

public AudioDeviceInfo GetPreferredDevice()

Returns

AudioDeviceInfo

AudioDeviceInfo

GetRoutedDevice()

public AudioDeviceInfo GetRoutedDevice()

Returns

AudioDeviceInfo

AudioDeviceInfo

GetSelectedTrack(int)

public int GetSelectedTrack(int arg0)

Parameters

arg0 int

int

Returns

int

int

Exceptions

IllegalStateException

GetSyncParams()

public SyncParams GetSyncParams()

Returns

SyncParams

SyncParams

GetTimestamp()

public MediaTimestamp GetTimestamp()

Returns

MediaTimestamp

MediaTimestamp

GetTrackInfo()

public MediaPlayer.TrackInfo[] GetTrackInfo()

Returns

TrackInfo[]

MediaPlayer.TrackInfo

Exceptions

IllegalStateException

GetVideoHeight()

public int GetVideoHeight()

Returns

int

int

GetVideoWidth()

public int GetVideoWidth()

Returns

int

int

IsLooping()

public bool IsLooping()

Returns

bool

bool

IsPlaying()

public bool IsPlaying()

Returns

bool

bool

Pause()

public void Pause()

Exceptions

IllegalStateException

Prepare()

public void Prepare()

Exceptions

IOException
IllegalStateException

PrepareAsync()

public void PrepareAsync()

Exceptions

IllegalStateException

PrepareDrm(UUID)

public void PrepareDrm(UUID arg0)

Parameters

arg0 UUID

UUID

Exceptions

MediaPlayer.ProvisioningNetworkErrorException
MediaPlayer.ProvisioningServerErrorException
ResourceBusyException
UnsupportedSchemeException

ProvideKeyResponse(byte[], byte[])

public byte[] ProvideKeyResponse(byte[] arg0, byte[] arg1)

Parameters

arg0 byte[]

byte

arg1 byte[]

byte

Returns

byte[]

byte

Exceptions

DeniedByServerException
MediaPlayer.NoDrmSchemeException

Release()

public void Release()

ReleaseDrm()

public void ReleaseDrm()

Exceptions

MediaPlayer.NoDrmSchemeException

RemoveOnRoutingChangedListener(OnRoutingChangedListener)

public void RemoveOnRoutingChangedListener(AudioRouting.OnRoutingChangedListener arg0)

Parameters

arg0 AudioRouting.OnRoutingChangedListener

AudioRouting.OnRoutingChangedListener

Reset()

public void Reset()

RestoreKeys(byte[])

public void RestoreKeys(byte[] arg0)

Parameters

arg0 byte[]

byte

Exceptions

MediaPlayer.NoDrmSchemeException

SeekTo(int)

public void SeekTo(int arg0)

Parameters

arg0 int

int

Exceptions

IllegalStateException

SeekTo(long, int)

public void SeekTo(long arg0, int arg1)

Parameters

arg0 long

long

arg1 int

int

SelectTrack(int)

public void SelectTrack(int arg0)

Parameters

arg0 int

int

Exceptions

IllegalStateException

SetAudioAttributes(AudioAttributes)

public void SetAudioAttributes(AudioAttributes arg0)

Parameters

arg0 AudioAttributes

AudioAttributes

Exceptions

IllegalArgumentException

SetAudioSessionId(int)

public void SetAudioSessionId(int arg0)

Parameters

arg0 int

int

Exceptions

IllegalArgumentException
IllegalStateException

SetAudioStreamType(int)

[Obsolete]
public void SetAudioStreamType(int arg0)

Parameters

arg0 int

int

SetAuxEffectSendLevel(float)

public void SetAuxEffectSendLevel(float arg0)

Parameters

arg0 float

float

SetDataSource(Context, Uri)

public void SetDataSource(Context arg0, Uri arg1)

Parameters

arg0 Context

Context

arg1 Uri

Uri

Exceptions

IOException
IllegalArgumentException
IllegalStateException
SecurityException

SetDataSource(Context, Uri, Map<String, String>)

public void SetDataSource(Context arg0, Uri arg1, Map<String, String> arg2)

Parameters

arg0 Context

Context

arg1 Uri

Uri

arg2 Map<String, String>

Map

Exceptions

IOException
IllegalArgumentException
IllegalStateException
SecurityException

SetDataSource(Context, Uri, Map<String, String>, List<HttpCookie>)

public void SetDataSource(Context arg0, Uri arg1, Map<String, String> arg2, List<HttpCookie> arg3)

Parameters

arg0 Context

Context

arg1 Uri

Uri

arg2 Map<String, String>

Map

arg3 List<HttpCookie>

List

Exceptions

IOException

SetDataSource(AssetFileDescriptor)

public void SetDataSource(AssetFileDescriptor arg0)

Parameters

arg0 AssetFileDescriptor

AssetFileDescriptor

Exceptions

IOException
IllegalArgumentException
IllegalStateException

SetDataSource(MediaDataSource)

public void SetDataSource(MediaDataSource arg0)

Parameters

arg0 MediaDataSource

MediaDataSource

Exceptions

IllegalArgumentException
IllegalStateException

SetDataSource(FileDescriptor)

public void SetDataSource(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

IOException
IllegalArgumentException
IllegalStateException

SetDataSource(FileDescriptor, long, long)

public void SetDataSource(FileDescriptor arg0, long arg1, long arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 long

long

arg2 long

long

Exceptions

IOException
IllegalArgumentException
IllegalStateException

SetDataSource(String)

public void SetDataSource(String arg0)

Parameters

arg0 String

String

Exceptions

IOException
IllegalArgumentException
IllegalStateException
SecurityException

SetDisplay(SurfaceHolder)

public void SetDisplay(SurfaceHolder arg0)

Parameters

arg0 SurfaceHolder

SurfaceHolder

SetDrmPropertyString(String, String)

public void SetDrmPropertyString(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

MediaPlayer.NoDrmSchemeException

SetLooping(bool)

public void SetLooping(bool arg0)

Parameters

arg0 bool

bool

SetNextMediaPlayer(MediaPlayer)

public void SetNextMediaPlayer(MediaPlayer arg0)

Parameters

arg0 MediaPlayer

MediaPlayer

SetOnBufferingUpdateListener(OnBufferingUpdateListener)

public void SetOnBufferingUpdateListener(MediaPlayer.OnBufferingUpdateListener arg0)

Parameters

arg0 MediaPlayer.OnBufferingUpdateListener

MediaPlayer.OnBufferingUpdateListener

SetOnCompletionListener(OnCompletionListener)

public void SetOnCompletionListener(MediaPlayer.OnCompletionListener arg0)

Parameters

arg0 MediaPlayer.OnCompletionListener

MediaPlayer.OnCompletionListener

SetOnDrmConfigHelper(OnDrmConfigHelper)

public void SetOnDrmConfigHelper(MediaPlayer.OnDrmConfigHelper arg0)

Parameters

arg0 MediaPlayer.OnDrmConfigHelper

MediaPlayer.OnDrmConfigHelper

SetOnDrmInfoListener(OnDrmInfoListener)

public void SetOnDrmInfoListener(MediaPlayer.OnDrmInfoListener arg0)

Parameters

arg0 MediaPlayer.OnDrmInfoListener

MediaPlayer.OnDrmInfoListener

SetOnDrmInfoListener(OnDrmInfoListener, Handler)

public void SetOnDrmInfoListener(MediaPlayer.OnDrmInfoListener arg0, Handler arg1)

Parameters

arg0 MediaPlayer.OnDrmInfoListener

MediaPlayer.OnDrmInfoListener

arg1 Handler

Handler

SetOnDrmPreparedListener(OnDrmPreparedListener)

public void SetOnDrmPreparedListener(MediaPlayer.OnDrmPreparedListener arg0)

Parameters

arg0 MediaPlayer.OnDrmPreparedListener

MediaPlayer.OnDrmPreparedListener

SetOnDrmPreparedListener(OnDrmPreparedListener, Handler)

public void SetOnDrmPreparedListener(MediaPlayer.OnDrmPreparedListener arg0, Handler arg1)

Parameters

arg0 MediaPlayer.OnDrmPreparedListener

MediaPlayer.OnDrmPreparedListener

arg1 Handler

Handler

SetOnErrorListener(OnErrorListener)

public void SetOnErrorListener(MediaPlayer.OnErrorListener arg0)

Parameters

arg0 MediaPlayer.OnErrorListener

MediaPlayer.OnErrorListener

SetOnInfoListener(OnInfoListener)

public void SetOnInfoListener(MediaPlayer.OnInfoListener arg0)

Parameters

arg0 MediaPlayer.OnInfoListener

MediaPlayer.OnInfoListener

SetOnMediaTimeDiscontinuityListener(OnMediaTimeDiscontinuityListener)

public void SetOnMediaTimeDiscontinuityListener(MediaPlayer.OnMediaTimeDiscontinuityListener arg0)

Parameters

arg0 MediaPlayer.OnMediaTimeDiscontinuityListener

MediaPlayer.OnMediaTimeDiscontinuityListener

SetOnMediaTimeDiscontinuityListener(OnMediaTimeDiscontinuityListener, Handler)

public void SetOnMediaTimeDiscontinuityListener(MediaPlayer.OnMediaTimeDiscontinuityListener arg0, Handler arg1)

Parameters

arg0 MediaPlayer.OnMediaTimeDiscontinuityListener

MediaPlayer.OnMediaTimeDiscontinuityListener

arg1 Handler

Handler

SetOnPreparedListener(OnPreparedListener)

public void SetOnPreparedListener(MediaPlayer.OnPreparedListener arg0)

Parameters

arg0 MediaPlayer.OnPreparedListener

MediaPlayer.OnPreparedListener

SetOnSeekCompleteListener(OnSeekCompleteListener)

public void SetOnSeekCompleteListener(MediaPlayer.OnSeekCompleteListener arg0)

Parameters

arg0 MediaPlayer.OnSeekCompleteListener

MediaPlayer.OnSeekCompleteListener

SetOnSubtitleDataListener(OnSubtitleDataListener)

public void SetOnSubtitleDataListener(MediaPlayer.OnSubtitleDataListener arg0)

Parameters

arg0 MediaPlayer.OnSubtitleDataListener

MediaPlayer.OnSubtitleDataListener

SetOnSubtitleDataListener(OnSubtitleDataListener, Handler)

public void SetOnSubtitleDataListener(MediaPlayer.OnSubtitleDataListener arg0, Handler arg1)

Parameters

arg0 MediaPlayer.OnSubtitleDataListener

MediaPlayer.OnSubtitleDataListener

arg1 Handler

Handler

SetOnTimedMetaDataAvailableListener(OnTimedMetaDataAvailableListener)

public void SetOnTimedMetaDataAvailableListener(MediaPlayer.OnTimedMetaDataAvailableListener arg0)

Parameters

arg0 MediaPlayer.OnTimedMetaDataAvailableListener

MediaPlayer.OnTimedMetaDataAvailableListener

SetOnTimedTextListener(OnTimedTextListener)

public void SetOnTimedTextListener(MediaPlayer.OnTimedTextListener arg0)

Parameters

arg0 MediaPlayer.OnTimedTextListener

MediaPlayer.OnTimedTextListener

SetOnVideoSizeChangedListener(OnVideoSizeChangedListener)

public void SetOnVideoSizeChangedListener(MediaPlayer.OnVideoSizeChangedListener arg0)

Parameters

arg0 MediaPlayer.OnVideoSizeChangedListener

MediaPlayer.OnVideoSizeChangedListener

SetPlaybackParams(PlaybackParams)

public void SetPlaybackParams(PlaybackParams arg0)

Parameters

arg0 PlaybackParams

PlaybackParams

SetPreferredDevice(AudioDeviceInfo)

public bool SetPreferredDevice(AudioDeviceInfo arg0)

Parameters

arg0 AudioDeviceInfo

AudioDeviceInfo

Returns

bool

bool

SetScreenOnWhilePlaying(bool)

public void SetScreenOnWhilePlaying(bool arg0)

Parameters

arg0 bool

bool

SetSurface(Surface)

public void SetSurface(Surface arg0)

Parameters

arg0 Surface

Surface

SetSyncParams(SyncParams)

public void SetSyncParams(SyncParams arg0)

Parameters

arg0 SyncParams

SyncParams

SetVideoScalingMode(int)

public void SetVideoScalingMode(int arg0)

Parameters

arg0 int

int

SetVolume(float, float)

public void SetVolume(float arg0, float arg1)

Parameters

arg0 float

float

arg1 float

float

SetWakeMode(Context, int)

public void SetWakeMode(Context arg0, int arg1)

Parameters

arg0 Context

Context

arg1 int

int

Start()

public void Start()

Exceptions

IllegalStateException

Stop()

public void Stop()

Exceptions

IllegalStateException

Operators

implicit operator AudioRouting(MediaPlayer)

Converter from MediaPlayer to AudioRouting

public static implicit operator AudioRouting(MediaPlayer t)

Parameters

t MediaPlayer

Returns

AudioRouting

implicit operator VolumeAutomation(MediaPlayer)

Converter from MediaPlayer to VolumeAutomation

public static implicit operator VolumeAutomation(MediaPlayer t)

Parameters

t MediaPlayer

Returns

VolumeAutomation