Does Apple provide an API for SIRI?

后端 未结 4 790
时光说笑
时光说笑 2020-11-27 21:06

Is it possible that Apple does or will provide an API for Siri? It would be great if I can be sipping my coffee and say,

User: Hey Si

相关标签:
4条回答
  • 2020-11-27 21:32

    THIS IS NO LONGER ACCURATE:

    There is no API and there is no indication of it changing anytime soon. There are private headers that you can look at by decompiling the SDK. This is a great synopsis:

    Quora

    You can be clever like RTM though, this is as close as it gets:

    http://www.rememberthemilk.com/services/siri/

    0 讨论(0)
  • 2020-11-27 21:35

    When the iPhone was first released, there was absolutely no public talk from Apple about custom app development. The delayed release of the SDK gave them plenty of time to get public feedback on the iPhone user experience and make the SDK ready for public use.

    It seems likely that they're taking a similar approach with Siri.

    0 讨论(0)
  • 2020-11-27 21:43

    Not yet. If you want it, file a feature request at bugreport.apple.com, and briefly describe what you want it for. The more people ask for it, the more likely it is to happen.

    0 讨论(0)
  • 2020-11-27 21:44

    In iOS 10, Apple has announced an API for Siri called SiriKit. However, you can only do it as an app extension and only if your app implements one of the following types of services:

    • Audio or video calling
    • Messaging
    • Payments
    • Searching photos
    • Workouts
    • Ride booking
    • Climate and radio

    SiriKit is a way for you to make your content available through Siri. It also lets you add support for your services to the Maps app. To support SiriKit, you use the Intents framework and Intents UI framework to implement one or more extensions that you then include inside your iOS app. When the user requests specific types of services through Siri or Maps, the system uses your extensions to provide those services.

    This means SiriKit cannot be used for the scenario mentioned in the question and in ways that many of us would like.

    Source: Apple Docs for SiriKit

    0 讨论(0)
提交回复
热议问题