/**@class android.media.VolumeProvider
@extends java.lang.Object

 Handles requests to adjust or set the volume on a session. This is also used
 to push volume updates back to the session. The provider must call
 {@link #setCurrentVolume}(int) each time the volume being provided changes.
 <p>
 You can set a volume provider on a session by calling
 {@link MediaSession#setPlaybackToRemote}.
*/
var VolumeProvider = {

/** The volume is fixed and can not be modified. Requests to change volume
 should be ignored.
*/
VOLUME_CONTROL_FIXED : "0",
/** The volume control uses relative adjustment via
 {@link #onAdjustVolume}(int). Attempts to set the volume to a specific
 value should be ignored.
*/
VOLUME_CONTROL_RELATIVE : "1",
/** The volume control uses an absolute value. It may be adjusted using
 {@link #onAdjustVolume}(int) or set directly using
 {@link #onSetVolumeTo}(int).
*/
VOLUME_CONTROL_ABSOLUTE : "2",
/**Get the volume control type that this volume provider uses.
@return {Number} The volume control type for this volume provider
*/
getVolumeControl : function(  ) {},

/**Get the maximum volume this provider allows.
@return {Number} The max allowed volume.
*/
getMaxVolume : function(  ) {},

/**Gets the current volume. This will be the last value set by
 {@link #setCurrentVolume}(int).
@return {Number} The current volume.
*/
getCurrentVolume : function(  ) {},

/**Notify the system that the current volume has been changed. This must be
 called every time the volume changes to ensure it is displayed properly.
@param {Number} currentVolume The current volume on the output.
*/
setCurrentVolume : function(  ) {},

/**Override to handle requests to set the volume of the current output.
 After the volume has been modified {@link #setCurrentVolume} must be
 called to notify the system.
@param {Number} volume The volume to set the output to.
*/
onSetVolumeTo : function(  ) {},

/**Override to handle requests to adjust the volume of the current output.
 Direction will be one of {@link android.media.AudioManager#ADJUST_LOWER},
 {@link android.media.AudioManager#ADJUST_RAISE}, {@link android.media.AudioManager#ADJUST_SAME}.
 After the volume has been modified {@link #setCurrentVolume} must be
 called to notify the system.
@param {Number} direction The direction to change the volume in.
*/
onAdjustVolume : function(  ) {},

/**Sets a callback to receive volume changes.
@hide 
*/
setCallback : function(  ) {},


};