UnderstandRequest


class UnderstandRequest
kotlin.Any
   ↳ android.service.personalcontext.understander.UnderstandRequest

Request data for ContextUnderstanderService.onUnderstand.

Summary

Public methods
Int

Gets the set of destinations that insights can be delivered to.

MutableSet<ContextHint!>

Gets hints that can be used to generate an insight.

String?

Gets the active egress validation session ID.

Public methods

getDestinations

fun getDestinations(): Int

Gets the set of destinations that insights can be delivered to.

Return
Int a flag set composed of PersonalContextManager.Destination flags.

getHints

fun getHints(): MutableSet<ContextHint!>

Gets hints that can be used to generate an insight.

getSessionId

fun getSessionId(): String?

Gets the active egress validation session ID.

This value can be set as the session ID for an android.app.privatecompute.AssistantQueryRequest.Query.

This value will be null if egress functionality is not available.