!11557 Add @atomicservice for MediaType

Merge pull request !11557 from Gao Pengzhen/web_video_takeover
This commit is contained in:
openharmony_ci 2024-06-21 01:39:12 +00:00 committed by Gitee
commit 408fb00296
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -6458,18 +6458,21 @@ declare namespace webview {
* Enum type for indicating the media type of native media player. * Enum type for indicating the media type of native media player.
* @enum {number} * @enum {number}
* @syscap SystemCapability.Web.Webview.Core * @syscap SystemCapability.Web.Webview.Core
* @atomicservice
* @since 12 * @since 12
*/ */
enum MediaType { enum MediaType {
/** /**
* Media type is video. * Media type is video.
* @syscap SystemCapability.Web.Webview.Core * @syscap SystemCapability.Web.Webview.Core
* @atomicservice
* @since 12 * @since 12
*/ */
VIDEO = 0, VIDEO = 0,
/** /**
* Media type is audio. * Media type is audio.
* @syscap SystemCapability.Web.Webview.Core * @syscap SystemCapability.Web.Webview.Core
* @atomicservice
* @since 12 * @since 12
*/ */
AUDIO AUDIO