Object APIConfig

  • All Implemented Interfaces:

    
    public class APIConfig
    
                        

    Represents the configuration for the SORI API. Since SORIAudioRecognizer is considered a singleton, the configuration is stored in this object.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getApplicationId() The application ID for the SORI API.
      final Unit setApplicationId(String applicationId) The application ID for the SORI API.
      final String getSecretKey() The secret key for the SORI API.
      final Unit setSecretKey(String secretKey) The secret key for the SORI API.
      final String getSessionId() The session ID for the SORI API.
      final Unit setSessionId(String sessionId) The session ID for the SORI API.
      final String getVersion() The version of the SORI API.
      final Unit setVersion(String version) The version of the SORI API.
      final String getToken() The authentication token for the SORI API.
      final Unit setToken(String token) The authentication token for the SORI API.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getApplicationId

         final String getApplicationId()

        The application ID for the SORI API.

      • setApplicationId

         final Unit setApplicationId(String applicationId)

        The application ID for the SORI API.

      • getSecretKey

         final String getSecretKey()

        The secret key for the SORI API.

      • setSecretKey

         final Unit setSecretKey(String secretKey)

        The secret key for the SORI API.

      • getSessionId

         final String getSessionId()

        The session ID for the SORI API.

      • setSessionId

         final Unit setSessionId(String sessionId)

        The session ID for the SORI API.

      • getVersion

         final String getVersion()

        The version of the SORI API.

      • setVersion

         final Unit setVersion(String version)

        The version of the SORI API.

      • getToken

         final String getToken()

        The authentication token for the SORI API.

      • setToken

         final Unit setToken(String token)

        The authentication token for the SORI API.