Apple 是否为 SIRI 提供 API?

发布于 2024-12-11 10:42:44 字数 244 浏览 0 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

叫嚣ゝ 2024-12-18 10:42:44

这不再准确:

没有 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/

等风来 2024-12-18 10:42:44

在 iOS 10 中,Apple 发布了一个名为 SiriKit 的 Siri API。但是,您只能将其作为应用程序扩展来执行,并且仅当您的应用程序实现以下类型的服务之一时:

  • 音频或视频通话
  • 消息传送
  • 付款
  • 搜索照片
  • 锻炼
  • 乘车预订
  • 气候和广播

SiriKit 是您通过 Siri 提供内容的一种方式。
它还允许您向地图应用程序添加对您的服务的支持。到
支持 SiriKit,您使用 Intents 框架和 Intents UI
框架来实现您随后包含的一个或多个扩展
在您的 iOS 应用程序中。当用户请求特定类型的服务时
通过 Siri 或地图,系统使用您的扩展来提供这些
服务。

这意味着 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:

  • 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

白色秋天 2024-12-18 10:42:44

当 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.

很糊涂小朋友 2024-12-18 10:42:44

还没有。如果您需要它,请在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文