mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Implement device info/volume methods
PiperOrigin-RevId: 323544314
This commit is contained in:
parent
dc10292708
commit
437275caed
1 changed files with 4 additions and 0 deletions
|
|
@ -40,6 +40,10 @@ public final class DeviceInfo {
|
||||||
/** Playback happens outside of the device (e.g. a cast device). */
|
/** Playback happens outside of the device (e.g. a cast device). */
|
||||||
public static final int PLAYBACK_TYPE_REMOTE = 1;
|
public static final int PLAYBACK_TYPE_REMOTE = 1;
|
||||||
|
|
||||||
|
/** Unknown DeviceInfo. */
|
||||||
|
public static final DeviceInfo UNKNOWN =
|
||||||
|
new DeviceInfo(PLAYBACK_TYPE_LOCAL, /* minVolume= */ 0, /* maxVolume= */ 0);
|
||||||
|
|
||||||
/** The type of playback. */
|
/** The type of playback. */
|
||||||
public final @PlaybackType int playbackType;
|
public final @PlaybackType int playbackType;
|
||||||
/** The minimum volume that the device supports. */
|
/** The minimum volume that the device supports. */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue