use*_*752 0 android firebase firebase-realtime-database
我已经阅读了这个问题,它被问到swift但我对android有一个完全相同的问题,这是如何在我想要programmaticaly时取消setValue()进程?为了使问题更清楚,如果我在计时器完成时有进程的计时器,我希望它取消任何setValue()进程.
你也可以使用相同的android
Firebase数据库客户端会自动对写入进行排队,并尽早将其发送到服务器,具体取决于网络连接.
In some cases (e.g. offline usage) there may be a largenumber of writes waiting to be sent. Calling this method will purgeall outstanding writes so they are abandoned.
All writes will be purged, including transactions and onDisconnect()writes. The writes will be rolled back locally,可能会触发受影响事件侦听器的事件,并且客户端不会(重新)将它们发送到Firebase后端.
| 归档时间: |
|
| 查看次数: |
357 次 |
| 最近记录: |