public static enum Volume.VolumeControlType extends Enum<Volume.VolumeControlType>
| Enum Constant and Description |
|---|
ATTENUATION
Cast device volume can be changed
|
FIXED
Cast device volume can be changed
|
MASTER
Master system volume control, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static Volume.VolumeControlType |
typeOf(String controlType)
Parses the specified string and returns the corresponding
Volume.VolumeControlType, or null if no match could be
found. |
static Volume.VolumeControlType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Volume.VolumeControlType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Volume.VolumeControlType ATTENUATION
public static final Volume.VolumeControlType FIXED
public static final Volume.VolumeControlType MASTER
public static Volume.VolumeControlType[] values()
for (Volume.VolumeControlType c : Volume.VolumeControlType.values()) System.out.println(c);
public static Volume.VolumeControlType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nullable public static Volume.VolumeControlType typeOf(String controlType)
Volume.VolumeControlType, or null if no match could be
found.controlType - the string to parse.Volume.VolumeControlType or null.Copyright © 2022. All rights reserved.