public class AlexaClient extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AlexaClient.AlexaClientBuilder |
static class |
AlexaClient.API_ENDPOINT |
| Modifier and Type | Method and Description |
|---|---|
static AlexaClient.AlexaClientBuilder |
create(AlexaEndpoint endpoint) |
static AlexaClient.AlexaClientBuilder |
create(AlexaEndpoint endpoint,
String applicationId) |
static AlexaClient.AlexaClientBuilder |
create(File file) |
static AlexaClient.AlexaClientBuilder |
create(InputStream scriptInputStream) |
static AlexaClient.AlexaClientBuilder |
create(String filePath) |
static String |
generateApplicationId() |
static String |
generateUserId() |
com.amazon.speech.speechlet.Application |
getApplication() |
Date |
getCurrentTimestamp() |
Optional<String> |
getDebugFlagSessionAttributeName() |
AlexaEndpoint |
getEndpoint() |
long |
getLastExecutionMillis() |
AlexaResponse |
getLastResponse() |
Locale |
getLocale() |
com.amazon.speech.speechlet.User |
getUser() |
void |
startScript()
Starts the script that was loaded from a YAML file referenced when AlexaClient was created.
|
AlexaSession |
startSession() |
public static final String VERSION
public AlexaResponse getLastResponse()
public long getLastExecutionMillis()
public AlexaEndpoint getEndpoint()
public static String generateUserId()
public static String generateApplicationId()
public Date getCurrentTimestamp()
public com.amazon.speech.speechlet.Application getApplication()
public com.amazon.speech.speechlet.User getUser()
public static AlexaClient.AlexaClientBuilder create(AlexaEndpoint endpoint)
public static AlexaClient.AlexaClientBuilder create(AlexaEndpoint endpoint, String applicationId)
public static AlexaClient.AlexaClientBuilder create(InputStream scriptInputStream) throws IOException
IOExceptionpublic static AlexaClient.AlexaClientBuilder create(String filePath) throws IOException
IOExceptionpublic static AlexaClient.AlexaClientBuilder create(File file) throws IOException
IOExceptionpublic AlexaSession startSession()
public void startScript()
public Locale getLocale()
Copyright © 2018. All rights reserved.