Apple 是否为 SIRI 提供 API?
Apple 是否有可能为 Siri 提供 API?如果我可以一边喝着咖啡一边说:
用户:嘿 Siri,你能打开 Angry 鸟类; 4 级并为我扔第一只鸟。确保您至少击中一只绿猪,否则它将从您的薪水中扣除。
Siri:是的,当然,我会为你做的。
这可能吗?你认为苹果会向我们提供这个吗?
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 Siri, could you please open Angry
Birds; Level 4 and throw a first bird for me. Make sure you at least hit one green pig or it's coming out of your paycheck.Siri: Yes sure, I will do that for you.
Is this possible? And would you think Apple will provide this to us?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这不再准确:
没有 API,也没有迹象表明它会很快发生变化。有一些私有头,你可以通过反编译SDK来查看。这是一个很棒的概要:
Quora
不过,你可以像 RTM 一样聪明,这已经是最接近的了:
http://www.rememberthemilk.com/services/siri/
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/
在 iOS 10 中,Apple 发布了一个名为 SiriKit 的 Siri API。但是,您只能将其作为应用程序扩展来执行,并且仅当您的应用程序实现以下类型的服务之一时:
这意味着 SiriKit 不能用于问题中提到的场景,也不能以我们许多人希望的方式使用。
资料来源:SiriKit 的 Apple 文档
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:
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
当 iPhone 首次发布时,苹果公司绝对没有公开谈论定制应用程序开发。 SDK 的延迟发布让他们有充足的时间来获取公众对 iPhone 用户体验的反馈,并使 SDK 做好供公众使用的准备。
他们似乎对 Siri 采取了类似的方法。
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.
还没有。如果您需要它,请在 bugreport.apple.com 上提交功能请求,并简要描述您想要它的用途。要求的人越多,发生的可能性就越大。
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.