# IMediaPlayerCustomDataProvider (/zh-CN/api-reference/rtc/harmonyos/class-imediaplayercustomdataprovider) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). 提供打开自定义媒体资源文件的回调。