mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 06:03:30 +00:00
新增createAVTranscoder 接口定义
Signed-off-by: gonglin <gonglin17@huawei.com>
This commit is contained in:
parent
5e820c3828
commit
70a9f0b92d
10
api/@ohos.multimedia.media.d.ts
vendored
10
api/@ohos.multimedia.media.d.ts
vendored
@ -257,6 +257,16 @@ declare namespace media {
|
||||
*/
|
||||
function reportAVScreenCaptureUserChoice(sessionId: number, choice: string): Promise<void>;
|
||||
|
||||
/**
|
||||
* Creates a AVTranscoder instance.
|
||||
*
|
||||
* @returns {Promise<AVTranscoder>} A Promise instance used to return AVTranscoder instance if the operation is successful; returns null otherwise.
|
||||
* @throws { BusinessError } 5400101 - No memory. Return by promise.
|
||||
* @syscap SystemCapability.Multimedia.Media.AVTranscoder
|
||||
* @since 12
|
||||
*/
|
||||
function createAVTranscoder(): Promise<AVTranscoder>;
|
||||
|
||||
/**
|
||||
* Manages and plays sound. Before calling an SoundPool method, you must use createSoundPool()
|
||||
* to create an SoundPool instance.
|
||||
|
@ -1007,6 +1007,7 @@ touchpad
|
||||
trackinfo
|
||||
tranlisterated
|
||||
transcode
|
||||
transcoder
|
||||
transferable
|
||||
transfunc
|
||||
transliterated
|
||||
|
Loading…
Reference in New Issue
Block a user