sync_extras_upload 的用途是什么?
在 ContentResolver 类中,有几个用于同步适配器的常量。我想知道常量 SYNC_EXTRAS_UPLOAD 的用途是什么?
Within the ContentResolver class, there are several constants that are used for syncadpaters. I want to know what the constant SYNC_EXTRAS_UPLOAD is used for?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您检查 SyncManager.java 文件,您会发现以下注释:
在同一个文件中,这是
scheduleLocalSync
API 的实现。您的同步适配器的
onPerformSync
方法接收这些额外内容作为参数之一If you check in the SyncManager.java file you find this comment:
and from the same file this is the implementation of the
scheduleLocalSync
APIThe method
onPerformSync
of your syncadapter receives those extras as one of the paramters