Enum 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.
    • 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 name
        NullPointerException - 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()