dn$b.java 1.74 KB
import android.content.Intent;
import android.media.Rating;
import android.media.session.MediaSession.Callback;
import android.os.Bundle;
import android.os.ResultReceiver;

public class dn$b<T extends dn.a>
  extends MediaSession.Callback
{
  protected final T a;
  
  public dn$b(T paramT)
  {
    this.a = paramT;
  }
  
  public void onCommand(String paramString, Bundle paramBundle, ResultReceiver paramResultReceiver)
  {
    this.a.a(paramString, paramBundle, paramResultReceiver);
  }
  
  public void onCustomAction(String paramString, Bundle paramBundle)
  {
    this.a.c(paramString, paramBundle);
  }
  
  public void onFastForward()
  {
    this.a.e();
  }
  
  public boolean onMediaButtonEvent(Intent paramIntent)
  {
    return (this.a.a(paramIntent)) || (super.onMediaButtonEvent(paramIntent));
  }
  
  public void onPause()
  {
    this.a.b();
  }
  
  public void onPlay()
  {
    this.a.a();
  }
  
  public void onPlayFromMediaId(String paramString, Bundle paramBundle)
  {
    this.a.a(paramString, paramBundle);
  }
  
  public void onPlayFromSearch(String paramString, Bundle paramBundle)
  {
    this.a.b(paramString, paramBundle);
  }
  
  public void onRewind()
  {
    this.a.f();
  }
  
  public void onSeekTo(long paramLong)
  {
    this.a.b(paramLong);
  }
  
  public void onSetRating(Rating paramRating)
  {
    this.a.a(paramRating);
  }
  
  public void onSkipToNext()
  {
    this.a.c();
  }
  
  public void onSkipToPrevious()
  {
    this.a.d();
  }
  
  public void onSkipToQueueItem(long paramLong)
  {
    this.a.a(paramLong);
  }
  
  public void onStop()
  {
    this.a.g();
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/dn$b.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */