mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 17:31:12 +00:00
!11557 Add @atomicservice for MediaType
Merge pull request !11557 from Gao Pengzhen/web_video_takeover
This commit is contained in:
commit
408fb00296
3
api/@ohos.web.webview.d.ts
vendored
3
api/@ohos.web.webview.d.ts
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user