Метод | Описание | |
---|---|---|
InitializePlayer ( ) : void | ||
InitializePlayerWithUrl ( string audioUrl ) : void | ||
OnBufferingUpdate ( Android.Media.MediaPlayer mp, int percent ) : void | ||
OnCompletion ( Android.Media.MediaPlayer mp ) : void | ||
OnDestroy ( ) : void | ||
OnError ( Android.Media.MediaPlayer mp, MediaError what, int extra ) : bool | ||
OnPrepared ( Android.Media.MediaPlayer mp ) : void | ||
OnSeekComplete ( Android.Media.MediaPlayer mp ) : void | ||
Pause ( ) : System.Threading.Tasks.Task | ||
Play ( IEnumerable |
||
Play ( IMediaFile mediaFile = null ) : System.Threading.Tasks.Task | ||
Seek ( System.TimeSpan position ) : System.Threading.Tasks.Task | ||
SetMediaPlayerDataSource ( ) : Task |
||
SetMediaPlayerOptions ( ) : void | ||
SetVolume ( float leftVolume, float rightVolume ) : void | ||
Stop ( ) : System.Threading.Tasks.Task | ||
TogglePlayPause ( bool forceToPlay ) : System.Threading.Tasks.Task |
Метод | Описание | |
---|---|---|
DisposeMediaPlayer ( ) : void | ||
OnStartCommand ( Android.Content.Intent intent, StartCommandFlags flags, int startId ) : StartCommandResult | ||
SetMediaPlayerDataSourcePostHoneyComb ( ) : System.Threading.Tasks.Task | ||
SetMediaPlayerDataSourcePreHoneyComb ( ) : System.Threading.Tasks.Task | ||
SetMediaPlayerDataSourceUsingFileDescriptor ( ) : System.Threading.Tasks.Task |
public InitializePlayerWithUrl ( string audioUrl ) : void | ||
audioUrl | string | |
Результат | void |
public OnBufferingUpdate ( Android.Media.MediaPlayer mp, int percent ) : void | ||
mp | Android.Media.MediaPlayer | |
percent | int | |
Результат | void |
public OnCompletion ( Android.Media.MediaPlayer mp ) : void | ||
mp | Android.Media.MediaPlayer | |
Результат | void |
public OnError ( Android.Media.MediaPlayer mp, MediaError what, int extra ) : bool | ||
mp | Android.Media.MediaPlayer | |
what | MediaError | |
extra | int | |
Результат | bool |
public OnPrepared ( Android.Media.MediaPlayer mp ) : void | ||
mp | Android.Media.MediaPlayer | |
Результат | void |
public OnSeekComplete ( Android.Media.MediaPlayer mp ) : void | ||
mp | Android.Media.MediaPlayer | |
Результат | void |
public Pause ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public Play ( IEnumerable |
||
mediaFiles | IEnumerable |
|
Результат | System.Threading.Tasks.Task |
public Play ( IMediaFile mediaFile = null ) : System.Threading.Tasks.Task | ||
mediaFile | IMediaFile | |
Результат | System.Threading.Tasks.Task |
public Seek ( System.TimeSpan position ) : System.Threading.Tasks.Task | ||
position | System.TimeSpan | |
Результат | System.Threading.Tasks.Task |
public SetMediaPlayerDataSource ( ) : Task |
||
Результат | Task |
public SetVolume ( float leftVolume, float rightVolume ) : void | ||
leftVolume | float | |
rightVolume | float | |
Результат | void |
public Stop ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public TogglePlayPause ( bool forceToPlay ) : System.Threading.Tasks.Task | ||
forceToPlay | bool | |
Результат | System.Threading.Tasks.Task |