Constructor and Description |
---|
Session.Factory() |
Modifier and Type | Method and Description |
---|---|
static Session |
session(android.content.Context context,
android.net.Uri uri,
String appKey)
Initializes a Session and may establish a connection with the speech server.
|
static Session |
session(android.content.Context context,
android.net.Uri uri,
String appKey,
Transaction.Options defaultOptions)
Initializes a Session and may establish a connection with the speech server.
|
public static Session session(android.content.Context context, android.net.Uri uri, String appKey)
context
- The application context object.uri
- Speech service endpoint (nmsps://ApplicationID@service.nuance.com:443).
WARNING: You must use SSL to make sure all transactions are made on a secure socket. (nmsps)appKey
- The application secret key.public static Session session(android.content.Context context, android.net.Uri uri, String appKey, Transaction.Options defaultOptions)
context
- The application context object.uri
- Speech service endpoint (nmsps://ApplicationID@service.nuance.com:443).
WARNING: You must use SSL to make sure all transactions are made on a secure socket. (nmsps)appKey
- The application secret key.defaultOptions
- The default options to use for every transaction.