SiriExtension/UCIntentsHandler.swift
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
The main entry point to the Intents extension. |
*/ |
import Intents |
class UCIntentsHandler: INExtension { |
override func handler(for intent: INIntent) -> Any? { |
if intent is INSendMessageIntent { |
return UCSendMessageIntentHandler() |
} |
return nil |
} |
} |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-10-27