如何使用Windows Phone 8钱包使用WalletAgent类的OnUserAction方法? [英] How do I utilise the OnUserAction method of the WalletAgent class using Windows Phone 8 Wallet?
问题描述
我创建了一个Windows Phone 8应用程序,允许在钱包中添加PaymentInstrument。我还添加了一个后台代理(WalletAgent)并设法覆盖了OnRefreshData方法......
我只能找到正在使用的OnRefreshData方法的示例保持PaymentInstruments更新。如何使用OnUserAction方法?我可以看到它存在于WalletAgent类中并且可以被覆盖,但我无法弄清楚如何从钱包中调用此事件
。
对于某些上下文...
我想更改钱包里的卡/帐户详细信息,但我不想每次都这样做访问或刷新钱包,我希望用户能够通过操作启动更新。
你好C,
我还没有看到这个例子,但会在这里内部联系并找出我能为你做的事情!
Jeff
I have created a Windows Phone 8 app that allows the adding of a PaymentInstrument to the wallet. I have also added a background agent (WalletAgent) and have managed to override the OnRefreshData method...
I can only find examples of the OnRefreshData method being used to keep PaymentInstruments updated. How do I utilise the OnUserAction method? I can see that it exists in the WalletAgent class and can be overridden, but I cannot work out how to invoke this event from the wallet.
For some context...
I want to change the card/account details held in the wallet, but I do not want to do this every time the wallet is accessed or refreshed, I want the user to be able to initiate the update with an action.
Hi C,
I have not seen an example of this but will reach out internally here and find out what I can for you!
Jeff
这篇关于如何使用Windows Phone 8钱包使用WalletAgent类的OnUserAction方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!