openharmony 鸿蒙 js-apidiff-AVSessionKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
Custom type changeClass name: avSession;
API declaration: type AVControlCommandType = 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'playFromAssetId' |'answer' |'hangUp' |'toggleCallMute';
DIfferences: 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'playFromAssetId' |'answer' |'hangUp' |'toggleCallMute'
Class name: avSession;
API declaration: type AVControlCommandType = 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'playFromAssetId' |'answer' |'hangUp' |'toggleCallMute' |'setTargetLoopMode';
DIfferences: 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'playFromAssetId' |'answer' |'hangUp' |'toggleCallMute' |'setTargetLoopMode'
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVSession;
API declaration: on(type: 'setTargetLoopMode', callback: Callback<LoopMode>): void;
DIfferences: on(type: 'setTargetLoopMode', callback: Callback<LoopMode>): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVSession;
API declaration: off(type: 'setTargetLoopMode', callback?: Callback<LoopMode>): void;
DIfferences: off(type: 'setTargetLoopMode', callback?: Callback<LoopMode>): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVMetadata;
API declaration: readonly bundleIcon?: image.PixelMap;
DIfferences: readonly bundleIcon?: image.PixelMap;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVMetadata;
API declaration: singleLyricText?: string;
DIfferences: singleLyricText?: string;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: avSession;
API declaration: type ExtraInfo = {
[key: string]: Object;
};
DIfferences: type ExtraInfo = {
[key: string]: Object;
};
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVSessionController;
API declaration: getExtrasWithEvent(extraEvent: string): Promise<ExtraInfo>;
DIfferences: getExtrasWithEvent(extraEvent: string): Promise<ExtraInfo>;
api/@ohos.multimedia.avsession.d.ts

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-ArkGraphics2D

openharmony 鸿蒙 js-apidiff-ArkGraphics3D

openharmony 鸿蒙 js-apidiff-MediaKit

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ConnectivityKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-IPCKit

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/cuvrq2AV