public static java.lang.Object | createVolumeProvider(int volumeControl, int maxVolume, int currentVolume, android.support.v4.media.VolumeProviderCompatApi21$Delegate delegate)
return new VolumeProvider(volumeControl, maxVolume, currentVolume) {
@Override
public void onSetVolumeTo(int volume) {
delegate.onSetVolumeTo(volume);
}
@Override
public void onAdjustVolume(int direction) {
delegate.onAdjustVolume(direction);
}
};
|