public enum AudioTrack extends Enum<AudioTrack>
Enum Constant and Description |
---|
BACKGROUND |
FOREGROUND |
NONE |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static AudioTrack |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static AudioTrack |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AudioTrack[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioTrack FOREGROUND
public static final AudioTrack BACKGROUND
public static final AudioTrack NONE
public static final AudioTrack UNKNOWN_TO_SDK_VERSION
public static AudioTrack[] values()
for (AudioTrack c : AudioTrack.values()) System.out.println(c);
public static AudioTrack 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 nullpublic String getValue()
public String toString()
toString
in class Enum<AudioTrack>
public static AudioTrack fromValue(String text)
Copyright © 2023. All rights reserved.