UnderstandRequest
public
final
class
UnderstandRequest
extends Object
| java.lang.Object | |
| ↳ | android.service.personalcontext.understander.UnderstandRequest |
Request data for ContextUnderstanderService.onUnderstand.
Summary
Public methods | |
|---|---|
int
|
getDestinations()
Gets the set of destinations that insights can be delivered to. |
Set<ContextHint>
|
getHints()
Gets hints that can be used to generate an insight. |
String
|
getSessionId()
Gets the active egress validation session ID. |
Inherited methods | |
|---|---|
Public methods
getDestinations
public int getDestinations ()
Gets the set of destinations that insights can be delivered to.
| Returns | |
|---|---|
int |
a flag set composed of ERROR(PersonalContextManager.Destination/android.service.personalcontext.PersonalContextManager.Destination PersonalContextManager.Destination) flags. |
getHints
public Set<ContextHint> getHints ()
Gets hints that can be used to generate an insight.
| Returns | |
|---|---|
Set<ContextHint> |
|
getSessionId
public String getSessionId ()
Gets the active egress validation session ID.
This value can be set as the session ID for an AssistantQueryRequest.Query.
This value will be null if egress functionality is not available.
| Returns | |
|---|---|
String |
|