SwiftstructProactivePredictionClient

struct ProactivePredictionClient.ControlCenterSuggestionCache

Members 6

  1. fieldlet url: Foundation.URL
  2. funcinvalidate() throws -> ()
  3. funcread() throws -> [ProactivePredictionClient.SuggestedControl]
  4. funcwrite([ProactivePredictionClient.SuggestedControl]) throws -> ()
  5. initinit(url: Foundation.URL) -> ProactivePredictionClient.ControlCenterSuggestionCache
  6. initinit() -> ProactivePredictionClient.ControlCenterSuggestionCache
struct ControlCenterSuggestionCache {
    let url: Foundation.URL

    init(url: Foundation.URL)
    init()

    func invalidate() throws
    func read() throws -> [ProactivePredictionClient.SuggestedControl]
    func write(_: [ProactivePredictionClient.SuggestedControl]) throws
}