SwiftclassSiriInferenceFlow

class SiriInferenceFlow.LocationResolverFlow

Structure

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

inherits{}

Members 12

  1. deinitdeinit
  2. fieldlet locale: Foundation.Locale
  3. fieldlet nextFlow: SiriKitFlow.AnyFlow+0x10
  4. fieldvar nlIntent: SiriOntology.NLIntent?
  5. fieldlet resolutionStrategy: A
  6. fieldvar serverConversion: SiriKitFlow.Parse.ServerConversion?
  7. fieldvar state: SiriInferenceFlow.LocationResolverFlow<A>.State
  8. fieldlet timeZone: Foundation.TimeZone
  9. funcexecute(completion: (SiriKitFlow.ExecuteResponse) -> ()) -> ()
  10. funcon(input: SiriKitFlow.Input) -> Bool
  11. initSiriInferenceFlow.LocationResolverFlow.__allocating_init(nextFlow: SiriKitFlow.AnyFlow, resolutionStrategy: A, locale: Foundation.Locale, timeZone: Foundation.TimeZone) -> SiriInferenceFlow.LocationResolverFlow<A>
  12. typealiastypealias ExitValue = ()
class LocationResolverFlow<A> where A: SiriInferenceFlow.EntityResolutionStrategy, A.Entity == SiriInference.Location {
    enum FeatureFlags {
        case locationResolutionEnabled
    }
    enum State {
        case locationResolved(SiriInference.Location)
        case initialized
        case changeLocation
        case complete
    }
    let nextFlow: SiriKitFlow.AnyFlow
    var state: SiriInferenceFlow.LocationResolverFlow<A>.State
    let locale: Foundation.Locale
    let timeZone: Foundation.TimeZone
    let resolutionStrategy: A
    var nlIntent: SiriOntology.NLIntent?
    var serverConversion: SiriKitFlow.Parse.ServerConversion?

    init(nextFlow: SiriKitFlow.AnyFlow, resolutionStrategy: A, locale: Foundation.Locale, timeZone: Foundation.TimeZone)
    func on(input: SiriKitFlow.Input) -> Swift.Bool
    func execute(completion: @escaping (_: SiriKitFlow.ExecuteResponse) -> ())

    deinit
}