C# 클래스 Plugin.MediaManager.ExoPlayer.ExoPlayerAudioService

상속: MediaServiceBase, IExoPlayerEventListener, TrackSelector.IEventListener, ExtractorMediaSource.IEventListener
파일 보기 프로젝트 열기: martijn00/XamarinMediaManager

공개 메소드들

메소드 설명
InitializePlayer ( ) : void
InitializePlayerWithUrl ( string audioUrl ) : void
OnLoadError ( IOException ex ) : void
OnLoadingChanged ( bool isLoading ) : void
OnPlayerError ( ExoPlaybackException ex ) : void
OnPlayerStateChanged ( bool playWhenReady, int state ) : void
OnPositionDiscontinuity ( ) : void
OnTimelineChanged ( Timeline timeline, Java.Lang.Object manifest ) : void
OnTrackSelectionsChanged ( TrackSelections p0 ) : void
Pause ( ) : Task
Play ( IEnumerable mediaFiles ) : Task
Play ( IMediaFile mediaFile = null ) : Task
Seek ( System.TimeSpan position ) : Task
SetMediaPlayerDataSource ( ) : Task
SetMediaPlayerOptions ( ) : void
SetVolume ( float leftVolume, float rightVolume ) : void
TogglePlayPause ( bool forceToPlay ) : Task

비공개 메소드들

메소드 설명
CancelBufferingTask ( ) : void
GetCompatValueByStatus ( MediaPlayerStatus state ) : int
GetHttpFactory ( ) : IDataSourceFactory
GetSource ( string url ) : IMediaSource
GetStatusByIntValue ( int state ) : MediaPlayerStatus
OnBuffering ( ) : void
OnStartCommand ( Android.Content.Intent intent, StartCommandFlags flags, int startId ) : StartCommandResult
OnStatusChangedHandler ( StatusChangedEventArgs args ) : void
StartBufferingSchedule ( ) : void

메소드 상세

InitializePlayer() 공개 메소드

public InitializePlayer ( ) : void
리턴 void

InitializePlayerWithUrl() 공개 메소드

public InitializePlayerWithUrl ( string audioUrl ) : void
audioUrl string
리턴 void

OnLoadError() 공개 메소드

public OnLoadError ( IOException ex ) : void
ex IOException
리턴 void

OnLoadingChanged() 공개 메소드

public OnLoadingChanged ( bool isLoading ) : void
isLoading bool
리턴 void

OnPlayerError() 공개 메소드

public OnPlayerError ( ExoPlaybackException ex ) : void
ex ExoPlaybackException
리턴 void

OnPlayerStateChanged() 공개 메소드

public OnPlayerStateChanged ( bool playWhenReady, int state ) : void
playWhenReady bool
state int
리턴 void

OnPositionDiscontinuity() 공개 메소드

public OnPositionDiscontinuity ( ) : void
리턴 void

OnTimelineChanged() 공개 메소드

public OnTimelineChanged ( Timeline timeline, Java.Lang.Object manifest ) : void
timeline Timeline
manifest Java.Lang.Object
리턴 void

OnTrackSelectionsChanged() 공개 메소드

public OnTrackSelectionsChanged ( TrackSelections p0 ) : void
p0 TrackSelections
리턴 void

Pause() 공개 메소드

public Pause ( ) : Task
리턴 Task

Play() 공개 메소드

public Play ( IEnumerable mediaFiles ) : Task
mediaFiles IEnumerable
리턴 Task

Play() 공개 메소드

public Play ( IMediaFile mediaFile = null ) : Task
mediaFile IMediaFile
리턴 Task

Seek() 공개 메소드

public Seek ( System.TimeSpan position ) : Task
position System.TimeSpan
리턴 Task

SetMediaPlayerDataSource() 공개 메소드

public SetMediaPlayerDataSource ( ) : Task
리턴 Task

SetMediaPlayerOptions() 공개 메소드

public SetMediaPlayerOptions ( ) : void
리턴 void

SetVolume() 공개 메소드

public SetVolume ( float leftVolume, float rightVolume ) : void
leftVolume float
rightVolume float
리턴 void

TogglePlayPause() 공개 메소드

public TogglePlayPause ( bool forceToPlay ) : Task
forceToPlay bool
리턴 Task