简体   繁体   English

iOS中的Siri集成用于付款转移

[英]Siri Integration in iOS for Payment transfer

I have to integrate Siri in our application for Sending payments to persons. 我必须将Siri整合到我们向人们发送付款的申请中。 Regarding this I have some questions, 对此,我有一些问题,

  1. I got some sample applications in which person name is captured from contacts present in phone or user generated contacts. 我得到了一些示例应用程序,其中从电话或用户生成的联系人中的联系人中捕获了人名。 So can any one please tell me is it possible to fetch the some list for eg beneficiary list and from this we can choose the beneficiary and then use it as payee at the time of resolving payee details. 那么任何人都可以告诉我是否可以获取一些列表,例如受益人名单,从中我们可以选择受益人,然后在解决收款人详细信息时将其用作收款人。 And suppose fetching of beneficiary list is not possible then how payment is work? 并且假设获取受益人名单是不可能的,那么付款是如何运作的?

  2. How to capture details of who(Payer) is sending money to other person. 如何捕捉谁(付款人)向其他人汇款的详细信息。 For e,g as I have to integrate it in bank application so no data is locally saved. 因为我必须将它集成到银行应用程序中,因此不会在本地保存任何数据。 and to fetch the details we need to call an API. 并获取我们需要调用API的详细信息。 So how it will work. 那么它将如何运作。

  3. While confirmation for authorizing payer we can use Touch ID. 在确认授权付款人时,我们可以使用Touch ID。 So is there any other way for iPhone 4,5 devices which are not supporting touch ID authorization. 那么iPhone 4,5设备还有其他任何不支持触摸ID授权的方式。
  4. What is the timeout for siri when we ask for payment request. 当我们要求付款请求时,siri的超时时间是多长。 And what to do to handle the payment processing at app level. 以及如何处理应用级别的付款处理。

Thanks in Advance 提前致谢

giving answer to my question so that any one get help from this. 回答我的问题,以便任何人从中获得帮助。

  1. At this stage it is not possible to fetch the beneficiary list. 在此阶段,无法获取受益人名单。 We need to fetch the person name from contact itself. 我们需要从联系人本身获取人名。

  2. We can achieve this using App group sharing. 我们可以使用App group sharing实现这一目标。

  3. For this we can switch them to our application using NSUserActivity. 为此,我们可以使用NSUserActivity将它们切换到我们的应用程序。

  4. Timeout is not specified but Siri wait for some time until api is not get any response. 超时未指定,但Siri等待一段时间,直到api没有得到任何响应。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM