public class User extends Object
User tied to a SpeechletV2 Session is the user registered to the device
initiating the SpeechletV2 Session and contains a unique identifier.SpeechletV2,
Session,
SpeechletException| Modifier and Type | Class and Description |
|---|---|
static class |
User.Builder
Builder used to construct a new
User. |
| Constructor and Description |
|---|
User(String userId)
Deprecated.
use
builder() to construct new instances of this class |
| Modifier and Type | Method and Description |
|---|---|
static User.Builder |
builder()
Returns a new builder instance used to construct a new
IntentRequest. |
String |
getAccessToken()
Returns the access token.
|
String |
getUserId()
Returns the user identifier.
|
@Deprecated public User(String userId)
builder() to construct new instances of this classuserId - the user identifierpublic static User.Builder builder()
IntentRequest.public String getUserId()
public String getAccessToken()
Copyright © 2016. All rights reserved.