Package com.iplateia.sorisdk
Object APIConfig
-
- All Implemented Interfaces:
public class APIConfigRepresents the configuration for the SORI API. Since SORIAudioRecognizer is considered a singleton, the configuration is stored in this object.
-
-
Method Summary
Modifier and Type Method Description final StringgetApplicationId()The application ID for the SORI API. final UnitsetApplicationId(String applicationId)The application ID for the SORI API. final StringgetSecretKey()The secret key for the SORI API. final UnitsetSecretKey(String secretKey)The secret key for the SORI API. final StringgetSessionId()The session ID for the SORI API. final UnitsetSessionId(String sessionId)The session ID for the SORI API. final StringgetVersion()The version of the SORI API. final UnitsetVersion(String version)The version of the SORI API. final StringgetToken()The authentication token for the SORI API. final UnitsetToken(String token)The authentication token for the SORI API. -
-
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.
-
-
-
-