SwiftclassSiriNotebook

class SiriNotebook.NotebookDisambiguationAdapter

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 9

  1. fieldvar cachedDisambiguationItems: [SiriNotebook.IdentifiableItem<A.NotebookDisambiguationStrategy.ItemType>]?
  2. fieldlet deviceState: SiriKitFlow.DeviceState
  3. fieldvar state: SiriNotebook.NotebookDisambiguationAdapter<A>.State
  4. fieldlet strategy: A
  5. fieldvar taskParser: SiriNotebook.DisambiguationResponseTask.Parser
  6. typealiastypealias DisambiguationItemContainerType = SiriKitFlow.BasicDisambiguationItemContainer<SiriNotebook.IdentifiableItem<A.SiriNotebook.NotebookDisambiguationStrategy.ItemType>>
  7. typealiastypealias IntentResponseType = A.SiriNotebook.NotebookDisambiguationStrategy.IntentResponseType
  8. typealiastypealias IntentType = A.SiriNotebook.NotebookDisambiguationStrategy.IntentType
  9. typealiastypealias ItemType = SiriNotebook.IdentifiableItem<A.SiriNotebook.NotebookDisambiguationStrategy.ItemType>
class NotebookDisambiguationAdapter<A> where A: SiriNotebook.NotebookDisambiguationStrategy {
    enum State {
        case selectedId(Swift.String)
        case selectedIndex(Swift.Int)
        case parsedSelectedEntity(SiriReferenceResolutionDataModel.RREntity)
        case awaitingInput
    }
    let strategy: A
    let deviceState: any SiriKitFlow.DeviceState
    var taskParser: SiriNotebook.DisambiguationResponseTask.Parser
    var state: SiriNotebook.NotebookDisambiguationAdapter<A>.State
    var cachedDisambiguationItems: [SiriNotebook.IdentifiableItem<A.ItemType>]?
}