Skip to content Skip to sidebar Skip to footer

Java Source Vs. Android SDK Differences?

If I look at the source code for AudioManager, there is: @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION) public static final String VOLUME_CHANGED_ACTION = 'android.media.VOL

Solution 1:

You missed the part above, the @hide indicating it is not included in the SDK:

/**
 * @hide Broadcast intent when the volume for a particular stream type changes.
 * Includes the stream, the new volume and previous volumes
 *
 * @see #EXTRA_VOLUME_STREAM_TYPE
 * @see #EXTRA_VOLUME_STREAM_VALUE
 * @see #EXTRA_PREV_VOLUME_STREAM_VALUE
 */

Post a Comment for "Java Source Vs. Android SDK Differences?"