sirikit

Siri - contact searching behaviour similar to skype for audio call

只谈情不闲聊 提交于 2019-12-10 14:23:39
问题 I am implementing a VoIP application where I need to initiate call through Siri. I was able to initiate a call through Siri. But problem is - every time application is launched though the contact is not in the app's contact list. I am not sure how and where to handle that. I mean not to launch the application if application does not have that contact like Skype handled it. Skype replied something like: Hmm, Skype didn't find <user>. Who would you like to call? Bellow is my code snippet for

Siri always responds 'Continue in the app' when starting workout with SiriKit

流过昼夜 提交于 2019-12-09 23:31:47
问题 I was working on a SiriKit intents extension for our app. We're using the workout extension type. The problem is, I just put the required methods in and always pass .ready but Siri always responds, Sorry, you'll have to continue in the app. I have tried other responses as well ( .failure and .unspecified ), but she still says to continue in the app. I've followed the documentation provided by Apple to setup my .plist files, but it still might be something related to that. Here is my Intents

SiriKit payment confirmation currency is always US$

一曲冷凌霜 提交于 2019-12-07 02:41:13
问题 I build Intents Extension and I'm handling INSendMoneyIntent and I'm saying: Send 25€ to John Smith response after app confrimation Here's your <Your_App> payment for US$25.00. Do you want to send it? Intent contains proper currency iso 3 code - EUR, so why siri displays wrong currency in payment confirmation? returning intent INSendPaymentIntentResponse *reponse = [[INSendPaymentIntentResponse alloc] initWithCode:INSendPaymentIntentResponseCodeReady userActivity:userActivity]; completion

【腾讯Bugly干货分享】iOS10 SiriKit QQ适配详解

我怕爱的太早我们不能终老 提交于 2019-12-06 08:51:04
本文来自于 腾讯bugly开发者社区 ,非经作者同意,请勿转载,原文地址: http://dev.qq.com/topic/57ece0331288fb4d31137da6 1. 概述 苹果在iOS10开放了siriKit接口给第三方应用。目前,QQ已经率先适配了Siri的发消息和打电话功能。这意味着在iOS10中你可以直接告诉Siri让它帮你发QQ消息和打QQ电话了,听起来是不是很酷炫? 那么第三方应用使用Siri的体验究竟如何?哪些应用可以接入SiriKit?接入SiriKit又需要做哪些工作呢?这篇文章会为你一一解答这些疑惑。 图1 用Siri发QQ消息效果展示 2. SiriKit简介 我们都知道Siri是iphone手机中的智能语音助手,那么什么是SiriKit呢?SiriKit是苹果为第三方应用支持Siri提供的开发框架。在官方文档中,SiriKit将对不同场景的语音支持划分为不同的domain,目前,SiriKit支持的domain包括:VoIP电话、发消息、转账、图片搜索、网约车订车、CarPlay和餐厅预定,也就是说如果你的应用中包含有这些功能之一,就可以考虑将这些功能接入到SiriKit中啦。 实现SiriKit相关功能时,我们并不需要真正对语音进行识别,语音的识别工作会由Siri完成。Siri识别完语音后,会将语音要完成的功能抽象成Intent对象传递给我们

How can I use Siri Shortcuts to show a specific page in my app?

强颜欢笑 提交于 2019-12-06 04:46:48
问题 I want to advanced research Shortcuts technology. So here are some questions: Can Siri shortcuts be used in any type of app? Because of SiriKit only working in tourism, chatting etc. Now using shortcuts. Can I jump to my app showing specific page by Siri? 回答1: Can Siri shortcuts be used in any type of app? Because of SiriKit only working in tourism, chatting etc. Yes, any. They aren't tied to any specific domain. They are custom. Now using shortcuts. Can I jump to my app showing specific page

SiriKit payment confirmation currency is always US$

拟墨画扇 提交于 2019-12-05 06:28:14
I build Intents Extension and I'm handling INSendMoneyIntent and I'm saying: Send 25€ to John Smith response after app confrimation Here's your <Your_App> payment for US$25.00. Do you want to send it? Intent contains proper currency iso 3 code - EUR, so why siri displays wrong currency in payment confirmation? returning intent INSendPaymentIntentResponse *reponse = [[INSendPaymentIntentResponse alloc] initWithCode:INSendPaymentIntentResponseCodeReady userActivity:userActivity]; completion(reponse); You need to add a paymentRecord to your response in (void)confirmSendPayment:

Siri always responds 'Continue in the app' when starting workout with SiriKit

别说谁变了你拦得住时间么 提交于 2019-12-04 19:12:23
I was working on a SiriKit intents extension for our app. We're using the workout extension type. The problem is, I just put the required methods in and always pass .ready but Siri always responds, Sorry, you'll have to continue in the app. I have tried other responses as well ( .failure and .unspecified ), but she still says to continue in the app. I've followed the documentation provided by Apple to setup my .plist files, but it still might be something related to that. Here is my Intents code : class IntentHandler: INExtension, INStartWorkoutIntentHandling, INPauseWorkoutIntentHandling,

How can I use Siri Shortcuts to show a specific page in my app?

冷暖自知 提交于 2019-12-04 11:21:14
I want to advanced research Shortcuts technology. So here are some questions: Can Siri shortcuts be used in any type of app? Because of SiriKit only working in tourism, chatting etc. Now using shortcuts. Can I jump to my app showing specific page by Siri? Can Siri shortcuts be used in any type of app? Because of SiriKit only working in tourism, chatting etc. Yes, any. They aren't tied to any specific domain. They are custom. Now using shortcuts. Can I jump to my app showing specific page by Siri? Yes. The code below shows the easiest way on how to show a specific page by Siri, it's called

How to create a Siri Intent that accepts input passed from user

二次信任 提交于 2019-12-04 10:47:36
问题 I created a custom Intent with parameters like so: I've donated it: let intent = PlayIntent() intent.color = color let interaction = INInteraction(intent: intent, response: nil) interaction.donate() and it shows up correctly: However, I'd like an Intent which accepts input from the user. Example, Messages.app: How do I configure my custom Intent to handle input? 回答1: As far as I can tell, this functionality is not available for third-party shortcuts - by which I mean, the shortcuts not

Launch app from INExtension in SiriKit

和自甴很熟 提交于 2019-12-04 07:34:37
I want to use SiriKit to start a workout. Starting the workout requires opening the main app from the app extension. The boilerplate that Apple provides for the INStartWorkoutIntentHandling handler is func handle(startWorkout startWorkoutIntent: INStartWorkoutIntent, completion: (INStartWorkoutIntentResponse) -> Void) { let userActivity = NSUserActivity(activityType: NSStringFromClass(INStartWorkoutIntent)) let response = INStartWorkoutIntentResponse(code: .success, userActivity: userActivity) completion(response) } How can I open my own app from here? Something like myapp://workout?action