diff --git a/api/@ohos.multimedia.avsession.d.ts b/api/@ohos.multimedia.avsession.d.ts index 060f6b6ed0fced51cf3cc31fc8a9f5a378fdbf2c..7934f63114b3aafe3f1e1422e80d3647afac232c 100644 --- a/api/@ohos.multimedia.avsession.d.ts +++ b/api/@ohos.multimedia.avsession.d.ts @@ -14,8 +14,8 @@ */ import { AsyncCallback } from './basic'; -import { WantAgent } from '@ohos.wantAgent'; -import KeyEvent from './@ohos.multimodalInput.keyEvent'; +import { WantAgent } from './@ohos.wantAgent'; +import { KeyEvent } from './@ohos.multimodalInput.keyEvent'; import { ElementName } from './bundleManager/elementName'; import image from './@ohos.multimedia.image'; import audio from './@ohos.multimedia.audio'; @@ -134,7 +134,7 @@ declare namespace avSession { * @param type Registration Type * @param callback Used to handle the session service death event. * @throws {BusinessError} 201 - permission denied - * @throws {BusinessError} 401 - packagearameter check failed + * @throws {BusinessError} 401 - parameter check failed * @throws {BusinessError} {@link #ERR_CODE_SERVICE_EXCEPTION} - server exception * @syscap SystemCapability.Multimedia.AVSession.Core * @since 9