mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
1031
Signed-off-by: wanglingyi <wanglingyi4@huawei.com>
This commit is contained in:
parent
8a87214daa
commit
baafda8167
8
api/@ohos.multimedia.media.d.ts
vendored
8
api/@ohos.multimedia.media.d.ts
vendored
@ -1793,7 +1793,7 @@ declare namespace media {
|
||||
* Prepare audio/video playback, it will request resource for playing.
|
||||
* @param { AsyncCallback<void> } callback - instance used to return when prepare completed.
|
||||
* @throws { BusinessError } 5400102 - Operation not allowed. Return by callback.
|
||||
* @throws { BusinessError } 5400106 - Unsupport format. Return by callback.
|
||||
* @throws { BusinessError } 5400106 - Unsupported format. Return by callback.
|
||||
* @syscap SystemCapability.Multimedia.Media.AVPlayer
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -1822,7 +1822,7 @@ declare namespace media {
|
||||
* Prepare audio/video playback, it will request resource for playing.
|
||||
* @returns { Promise<void> } A Promise instance used to return when prepare completed.
|
||||
* @throws { BusinessError } 5400102 - Operation not allowed. Return by promise.
|
||||
* @throws { BusinessError } 5400106 - Unsupport format. Return by promise.
|
||||
* @throws { BusinessError } 5400106 - Unsupported format. Return by promise.
|
||||
* @syscap SystemCapability.Multimedia.Media.AVPlayer
|
||||
* @crossplatform
|
||||
* @atomicservice
|
||||
@ -2294,7 +2294,7 @@ declare namespace media {
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
setMediaMuted(mediaType: MediaType, muted: boolean ): Promise<void>;
|
||||
setMediaMuted(mediaType: MediaType, muted: boolean): Promise<void>;
|
||||
|
||||
/**
|
||||
* Set playback start position and end position.
|
||||
@ -7971,7 +7971,7 @@ declare namespace media {
|
||||
*/
|
||||
off(type: 'error', callback?: ErrorCallback): void;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Provides the video transcode configuration definitions
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user