mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Add missing IntDef annotation
PiperOrigin-RevId: 599414024
This commit is contained in:
parent
1ec193883c
commit
e730feb98a
2
api.txt
2
api.txt
@ -763,7 +763,7 @@ package androidx.media3.common {
|
|||||||
method @Deprecated public void setDeviceMuted(boolean);
|
method @Deprecated public void setDeviceMuted(boolean);
|
||||||
method public void setDeviceMuted(boolean, @androidx.media3.common.C.VolumeFlags int);
|
method public void setDeviceMuted(boolean, @androidx.media3.common.C.VolumeFlags int);
|
||||||
method @Deprecated public void setDeviceVolume(@IntRange(from=0) int);
|
method @Deprecated public void setDeviceVolume(@IntRange(from=0) int);
|
||||||
method public void setDeviceVolume(@IntRange(from=0) int, int);
|
method public void setDeviceVolume(@IntRange(from=0) int, @androidx.media3.common.C.VolumeFlags int);
|
||||||
method public void setMediaItem(androidx.media3.common.MediaItem);
|
method public void setMediaItem(androidx.media3.common.MediaItem);
|
||||||
method public void setMediaItem(androidx.media3.common.MediaItem, boolean);
|
method public void setMediaItem(androidx.media3.common.MediaItem, boolean);
|
||||||
method public void setMediaItem(androidx.media3.common.MediaItem, long);
|
method public void setMediaItem(androidx.media3.common.MediaItem, long);
|
||||||
|
@ -3462,7 +3462,7 @@ public interface Player {
|
|||||||
* @param volume The volume to set.
|
* @param volume The volume to set.
|
||||||
* @param flags Either 0 or a bitwise combination of one or more {@link C.VolumeFlags}.
|
* @param flags Either 0 or a bitwise combination of one or more {@link C.VolumeFlags}.
|
||||||
*/
|
*/
|
||||||
void setDeviceVolume(@IntRange(from = 0) int volume, int flags);
|
void setDeviceVolume(@IntRange(from = 0) int volume, @C.VolumeFlags int flags);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link #increaseDeviceVolume(int)} instead.
|
* @deprecated Use {@link #increaseDeviceVolume(int)} instead.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user