mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +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). */
|
||||
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. */
|
||||
public final @PlaybackType int playbackType;
|
||||
/** The minimum volume that the device supports. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue