从Google Cloud Messaging发送的消息到达设备需要多长时间 [英] How long does it take for a message from Google Cloud Messaging to arrive on device
问题描述
Google云消息传递的消息到达设备需要多长时间?
我想将我的门铃与我的Android应用连接起来。我在RaspberryPi上收到门铃,它有互联网连接。我可以连接到Google云消息传递,但消息是否会很快到达我的Android设备?
谢谢!
几乎立即(1-2秒)如果手机处于活动状态且具有稳定的网络连接。但没有100%的保证。如果手机正在睡觉,可能需要一段时间。如果您忘记支付运营商账单,它将永远不会来。
How long does it take for a message from Google Cloud Messaging to arrive on a device?
I want to link my door bell with my Android App. The door bell I receive on a RaspberryPi which has an internet connection. I could connect to Google Cloud Messaging, but would the message arrive soon on my Android device?
Thanks!
Almost immediately (1-2sec) if phone is active and has stable internet connection. But there is no 100% guarantee. If phone is sleeping it can take time. If you forgot to pay your carrier bills it will never come.
这篇关于从Google Cloud Messaging发送的消息到达设备需要多长时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!