C# Class Plugin.MediaManager.MediaSession.MediaSessionCallback

Inheritance: MediaSessionCompat.Callback
Datei anzeigen Open project: martijn00/XamarinMediaManager Class Usage Examples

Public Methods

Method Description
MediaSessionCallback ( MediaSessionManager manager ) : System
OnFastForward ( ) : void
OnMediaButtonEvent ( Android.Content.Intent mediaButtonEvent ) : bool

Called when [media button event]. Handle Headphone double click

OnPause ( ) : void
OnPlay ( ) : void
OnSkipToNext ( ) : void
OnSkipToPrevious ( ) : void
OnStop ( ) : void

Method Details

MediaSessionCallback() public method

public MediaSessionCallback ( MediaSessionManager manager ) : System
manager MediaSessionManager
return System

OnFastForward() public method

public OnFastForward ( ) : void
return void

OnMediaButtonEvent() public method

Called when [media button event]. Handle Headphone double click
public OnMediaButtonEvent ( Android.Content.Intent mediaButtonEvent ) : bool
mediaButtonEvent Android.Content.Intent The media button event.
return bool

OnPause() public method

public OnPause ( ) : void
return void

OnPlay() public method

public OnPlay ( ) : void
return void

OnSkipToNext() public method

public OnSkipToNext ( ) : void
return void

OnSkipToPrevious() public method

public OnSkipToPrevious ( ) : void
return void

OnStop() public method

public OnStop ( ) : void
return void