IntentHandler.swift 444 B

12345678910111213141516171819
  1. //
  2. // IntentHandler.swift
  3. // RecordIntent
  4. //
  5. // Created by Destiny on 2024/11/19.
  6. //
  7. import Intents
  8. class IntentHandler: INExtension {
  9. override func handler(for intent: INIntent) -> Any {
  10. // This is the default implementation. If you want different objects to handle different intents,
  11. // you can override this and return the handler you want for that particular intent.
  12. return self
  13. }
  14. }