媒体提供者
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
MediaProvider 模块优化索引元数据(来自 SD 卡和 USB 设备的音频、视频和图像),并通过MediaStore 公共 API使这些数据可供应用程序使用。
有关此模块的更多详细信息,请参阅媒体部分。
MediaProvider 模块 ( com.google.android.mediaprovider
) 采用 APK-in-APEX 格式,适用于运行 Android 11 或更高版本的设备。
定制
有关添加新媒体格式、影响哪些存储设备被索引以及替换 MTP 堆栈的详细信息,请参阅MediaProvider 。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
Last updated 2022-12-06 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]