mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-10-07 22:24:20 +00:00
!10707 AVSession Kit元服务适配debug
Merge pull request !10707 from 王海龙/master
This commit is contained in:
commit
61be8ec42e
12
api/@ohos.multimedia.avsession.d.ts
vendored
12
api/@ohos.multimedia.avsession.d.ts
vendored
@ -51,18 +51,6 @@ declare namespace avSession {
|
||||
* @syscap SystemCapability.Multimedia.AVSession.Core
|
||||
* @since 10
|
||||
*/
|
||||
/**
|
||||
* Create an AVSession instance. An ability can only create one AVSession
|
||||
* @param { Context } context - The context of application
|
||||
* @param { string } tag - A user-defined name for this session
|
||||
* @param { AVSessionType } type - The type of session {@link AVSessionType}
|
||||
* @param { AsyncCallback<AVSession> } callback - async callback for AVSession.
|
||||
* @throws { BusinessError } 401 - parameter check failed
|
||||
* @throws { BusinessError } 6600101 - Session service exception.
|
||||
* @syscap SystemCapability.Multimedia.AVSession.Core
|
||||
* @atomicservice
|
||||
* @since 12
|
||||
*/
|
||||
function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user