Enum Pa.HostApiTypeId
- java.lang.Object
-
- java.lang.Enum<Pa.HostApiTypeId>
-
- org.jitsi.impl.neomedia.portaudio.Pa.HostApiTypeId
-
- All Implemented Interfaces:
Serializable,Comparable<Pa.HostApiTypeId>
- Enclosing class:
- Pa
public static enum Pa.HostApiTypeId extends Enum<Pa.HostApiTypeId>
Enumerates the unchanging unique identifiers of each of the supported host APIs. The type is used in the PaHostApiInfo structure. The values are guaranteed to be unique and to never change, thus allowing code to be written that conditionally uses host API specific extensions.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description paALpaALSApaASIOpaAudioScienceHPIpaBeOSpaCoreAudiopaDirectSoundpaInDevelopmentpaJACKpaMMEpaOSSpaSoundManagerpaWASAPIpaWDMKS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetApiName()static Pa.HostApiTypeIdvalueOf(int value)Returns the PaHostApiTypeId which has a specific value or null if there is no such representation.static Pa.HostApiTypeIdvalueOf(String name)Returns the enum constant of this type with the specified name.static Pa.HostApiTypeId[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
paInDevelopment
public static final Pa.HostApiTypeId paInDevelopment
-
paDirectSound
public static final Pa.HostApiTypeId paDirectSound
-
paMME
public static final Pa.HostApiTypeId paMME
-
paASIO
public static final Pa.HostApiTypeId paASIO
-
paSoundManager
public static final Pa.HostApiTypeId paSoundManager
-
paCoreAudio
public static final Pa.HostApiTypeId paCoreAudio
-
paOSS
public static final Pa.HostApiTypeId paOSS
-
paALSA
public static final Pa.HostApiTypeId paALSA
-
paAL
public static final Pa.HostApiTypeId paAL
-
paBeOS
public static final Pa.HostApiTypeId paBeOS
-
paWDMKS
public static final Pa.HostApiTypeId paWDMKS
-
paJACK
public static final Pa.HostApiTypeId paJACK
-
paWASAPI
public static final Pa.HostApiTypeId paWASAPI
-
paAudioScienceHPI
public static final Pa.HostApiTypeId paAudioScienceHPI
-
-
Method Detail
-
values
public static Pa.HostApiTypeId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Pa.HostApiTypeId c : Pa.HostApiTypeId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Pa.HostApiTypeId valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
public static Pa.HostApiTypeId valueOf(int value)
Returns the PaHostApiTypeId which has a specific value or null if there is no such representation.- Parameters:
value-- Returns:
- the PaHostApiTypeId which has the specified value or null if there is no such representation
-
getApiName
public String getApiName()
-
-