content: package android.support.v4.media;
  
  import android.os.Build;
  import java.lang.annotation.Retention;
  import java.lang.annotation.RetentionPolicy;
  
  public abstract class VolumeProviderCompat {
    public static final int VOLUME_CONTROL_ABSOLUTE = 2;
    
    public static final int VOLUME_CONTROL_FIXED = 0;
    
    public static final int VOLUME_CONTROL_RELATIVE = 1;
    
    private Callback mCallback;
    
    private final int mControlType;
    
    private int mCurrentVolume;
    
    private final int mMaxVolume;
    
    private Object mVolumeProviderObj;
    
    public VolumeProviderCompat(int paramInt1, int paramInt2, int paramInt3) {
      this.mControlType = paramInt1;
      this.mMaxVolume = paramInt2;
      this.mCurrentVolume = paramInt3;
    }
    
    public final int getCurrentVolume() {
      return this.mCurrentVolume;
    }
    
    public final int getMaxVolume() {
      return this.mMaxVolume;
    }
    
    public final int getVolumeControl() {
      return this.mControlType;
    }
    
    public Object getVolumeProvider() {
      if (this.mVolumeProviderObj == null && Build.VERSION.SDK_INT >= 21)
        this.mVolumeProviderObj = VolumeProviderCompatApi21.createVolumeProvider(this.mControlType, this.mMaxVolume, this.mCurrentVolume, new VolumeProviderCompatApi21.Delegate() {
              public void onAdjustVolume(int param1Int) {
                VolumeProviderCompat.this.onAdjustVolume(param1Int);
              }
              
              public void onSetVolumeTo(int param1Int) {
                VolumeProviderCompat.this.onSetVolumeTo(param1Int);
              }
            }); 
      return this.mVolumeProviderObj;
    }
    
    public void onAdjustVolume(int paramInt) {}
    
    public void onSetVolumeTo(int paramInt) {}
    
    public void setCallback(Callback paramCallback) {
      this.mCallback = paramCallback;
    }
    
    public final void setCurrentVolume(int paramInt) {
      this.mCurrentVolume = paramInt;
      Object object = getVolumeProvider();
      if (object != null && Build.VERSION.SDK_INT >= 21)
        VolumeProviderCompatApi21.setCurrentVolume(object, paramInt); 
      object = this.mCallback;
      if (object != null)
        object.onVolumeChanged(this); 
    }
    
    public static abstract class Callback {
      public abstract void onVolumeChanged(VolumeProviderCompat param1VolumeProviderCompat);
    }
    
    @Retention(RetentionPolicy.SOURCE)
    public static @interface ControlType {}
  }
  
  
  /* Location:              F:\何章易\项目文件夹\项目24\va\classes_merge.jar!\android\support\v4\media\VolumeProviderCompat.class
   * Java compiler version: 6 (50.0)
   * JD-Core Version:       1.1.3
   */