mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +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 {number}
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
enum MediaType {
|
||||
/**
|
||||
* Media type is video.
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
VIDEO = 0,
|
||||
/**
|
||||
* Media type is audio.
|
||||
* @syscap SystemCapability.Web.Webview.Core
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
AUDIO
|
||||
|
Loading…
Reference in New Issue
Block a user