diff --git a/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md b/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md index 019bc319ac2c1245cef25558b8390a4672347495..e53e77bac534a379890688064173c26def31be2e 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md +++ b/zh-cn/application-dev/reference/apis/js-apis-medialibrary.md @@ -45,6 +45,7 @@ import featureAbility from '@ohos.ability.featureAbility'; let context = featureAbility.getContext(); let media = mediaLibrary.getMediaLibrary(context); ``` + ## mediaLibrary.getMediaLibrary getMediaLibrary(): MediaLibrary @@ -53,8 +54,6 @@ getMediaLibrary(): MediaLibrary 此接口仅可在FA模型下使用。 -> **说明**: 从API Version 8开始,该接口不再维护,推荐使用新接口[mediaLibrary.getMediaLibrary8+](#medialibrarygetmedialibrary8)。 - **系统能力**:SystemCapability.Multimedia.MediaLibrary.Core **返回值:**