openharmony 鸿蒙 js-apidiff-AVSessionKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
Error code changeClass name: AVSession;
API declaration: getAVCastController(callback: AsyncCallback<AVCastController>): void;
Differences: 6600102,6600110
Class name: AVSession;
API declaration: getAVCastController(callback: AsyncCallback<AVCastController>): void;
Differences: 6600102,6600109
api/@ohos.multimedia.avsession.d.ts
Error code changeClass name: AVSession;
API declaration: getAVCastController(): Promise<AVCastController>;
Differences: 6600102,6600110
Class name: AVSession;
API declaration: getAVCastController(): Promise<AVCastController>;
Differences: 6600102,6600109
api/@ohos.multimedia.avsession.d.ts
Custom type changeClass name: avSession;
API declaration: type AVSessionType = 'audio' |'video' |'voice_call';
Differences: 'audio' |'video' |'voice_call'
Class name: avSession;
API declaration: type AVSessionType = 'audio' |'video' |'voice_call' |'video_call';
Differences: 'audio' |'video' |'voice_call' |'video_call'
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVCastPicker;
API declaration: @Prop
pickerStyle?: AVCastPickerStyle;
Differences: @Prop
pickerStyle?: AVCastPickerStyle;
api/@ohos.multimedia.avCastPicker.d.ets
New APINAClass name: AVCastPicker;
API declaration: @Prop
colorMode?: AVCastPickerColorMode;
Differences: @Prop
colorMode?: AVCastPickerColorMode;
api/@ohos.multimedia.avCastPicker.d.ets
New APINAClass name: AVCastPicker;
API declaration: @Prop
sessionType?: string;
Differences: @Prop
sessionType?: string;
api/@ohos.multimedia.avCastPicker.d.ets
New APINAClass name: AVCastPicker;
API declaration: @Prop
customPicker?: CustomBuilder;
Differences: @Prop
customPicker?: CustomBuilder;
api/@ohos.multimedia.avCastPicker.d.ets
New APINAClass name: global;
API declaration: export declare enum AVCastPickerStyle
Differences: export declare enum AVCastPickerStyle
api/@ohos.multimedia.avCastPickerParam.d.ts
New APINAClass name: AVCastPickerStyle;
API declaration: STYLE_PANEL
Differences: STYLE_PANEL
api/@ohos.multimedia.avCastPickerParam.d.ts
New APINAClass name: AVCastPickerStyle;
API declaration: STYLE_MENU
Differences: STYLE_MENU
api/@ohos.multimedia.avCastPickerParam.d.ts
New APINAClass name: global;
API declaration: export declare enum AVCastPickerColorMode
Differences: export declare enum AVCastPickerColorMode
api/@ohos.multimedia.avCastPickerParam.d.ts
New APINAClass name: AVCastPickerColorMode;
API declaration: AUTO
Differences: AUTO
api/@ohos.multimedia.avCastPickerParam.d.ts
New APINAClass name: AVCastPickerColorMode;
API declaration: DARK
Differences: DARK
api/@ohos.multimedia.avCastPickerParam.d.ts
New APINAClass name: AVCastPickerColorMode;
API declaration: LIGHT
Differences: LIGHT
api/@ohos.multimedia.avCastPickerParam.d.ts
New APINAClass name: ProtocolType;
API declaration: TYPE_DLNA = 4
Differences: TYPE_DLNA = 4
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVSession;
API declaration: getAllCastDisplays(): Promise<Array<CastDisplayInfo>>;
Differences: getAllCastDisplays(): Promise<Array<CastDisplayInfo>>;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVSession;
API declaration: on(type: 'castDisplayChange', callback: Callback<CastDisplayInfo>): void;
Differences: on(type: 'castDisplayChange', callback: Callback<CastDisplayInfo>): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVSession;
API declaration: off(type: 'castDisplayChange', callback?: Callback<CastDisplayInfo>): void;
Differences: off(type: 'castDisplayChange', callback?: Callback<CastDisplayInfo>): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVCastController;
API declaration: processMediaKeyResponse(assetId: string, response: Uint8Array): Promise<void>;
Differences: processMediaKeyResponse(assetId: string, response: Uint8Array): Promise<void>;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVCastController;
API declaration: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;
Differences: on(type: 'videoSizeChange', callback: (width: number, height: number) => void): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVCastController;
API declaration: off(type: 'videoSizeChange'): void;
Differences: off(type: 'videoSizeChange'): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVCastController;
API declaration: on(type: 'keyRequest', callback: KeyRequestCallback): void;
Differences: on(type: 'keyRequest', callback: KeyRequestCallback): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVCastController;
API declaration: off(type: 'keyRequest', callback?: KeyRequestCallback): void;
Differences: off(type: 'keyRequest', callback?: KeyRequestCallback): void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: avSession;
API declaration: type KeyRequestCallback = (assetId: string, requestData: Uint8Array) => void;
Differences: type KeyRequestCallback = (assetId: string, requestData: Uint8Array) => void;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: avSession;
API declaration: enum CastDisplayState
Differences: enum CastDisplayState
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: CastDisplayState;
API declaration: STATE_OFF = 1
Differences: STATE_OFF = 1
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: CastDisplayState;
API declaration: STATE_ON = 2
Differences: STATE_ON = 2
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: avSession;
API declaration: interface CastDisplayInfo
Differences: interface CastDisplayInfo
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: CastDisplayInfo;
API declaration: id: number;
Differences: id: number;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: CastDisplayInfo;
API declaration: name: string;
Differences: name: string;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: CastDisplayInfo;
API declaration: state: CastDisplayState;
Differences: state: CastDisplayState;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: CastDisplayInfo;
API declaration: width: number;
Differences: width: number;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: CastDisplayInfo;
API declaration: height: number;
Differences: height: number;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVMetadata;
API declaration: avQueueName?: string;
Differences: avQueueName?: string;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVMetadata;
API declaration: drmSchemes?: Array<string>;
Differences: drmSchemes?: Array<string>;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVMediaDescription;
API declaration: dataSrc?: media.AVDataSrcDescriptor;
Differences: dataSrc?: media.AVDataSrcDescriptor;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: AVMediaDescription;
API declaration: drmScheme?: string;
Differences: drmScheme?: string;
api/@ohos.multimedia.avsession.d.ts
New APINAClass name: DeviceInfo;
API declaration: supportedDrmCapabilities?: Array<string>;
Differences: supportedDrmCapabilities?: Array<string>;
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: global;
API declaration: declare struct AVCastPicker
Differences: NA
Class name: global;
API declaration: declare struct AVCastPicker
Differences: atomicservice
api/@ohos.multimedia.avCastPicker.d.ets
New support for atomic servicesClass name: AVCastPicker;
API declaration: @Prop
normalColor?: Color |number |string;
Differences: NA
Class name: AVCastPicker;
API declaration: @Prop
normalColor?: Color |number |string;
Differences: atomicservice
api/@ohos.multimedia.avCastPicker.d.ets
New support for atomic servicesClass name: AVCastPicker;
API declaration: @Prop
activeColor?: Color |number |string;
Differences: NA
Class name: AVCastPicker;
API declaration: @Prop
activeColor?: Color |number |string;
Differences: atomicservice
api/@ohos.multimedia.avCastPicker.d.ets
New support for atomic servicesClass name: AVCastPicker;
API declaration: onStateChange?: (state: AVCastPickerState) => void;
Differences: NA
Class name: AVCastPicker;
API declaration: onStateChange?: (state: AVCastPickerState) => void;
Differences: atomicservice
api/@ohos.multimedia.avCastPicker.d.ets
New support for atomic servicesClass name: global;
API declaration: export declare enum AVCastPickerState
Differences: NA
Class name: global;
API declaration: export declare enum AVCastPickerState
Differences: atomicservice
api/@ohos.multimedia.avCastPickerParam.d.ts
New support for atomic servicesClass name: AVCastPickerState;
API declaration: STATE_APPEARING
Differences: NA
Class name: AVCastPickerState;
API declaration: STATE_APPEARING
Differences: atomicservice
api/@ohos.multimedia.avCastPickerParam.d.ts
New support for atomic servicesClass name: AVCastPickerState;
API declaration: STATE_DISAPPEARING
Differences: NA
Class name: AVCastPickerState;
API declaration: STATE_DISAPPEARING
Differences: atomicservice
api/@ohos.multimedia.avCastPickerParam.d.ts
New support for atomic servicesClass name: global;
API declaration: declare namespace avSession
Differences: NA
Class name: global;
API declaration: declare namespace avSession
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;
Differences: NA
Class name: avSession;
API declaration: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum ProtocolType
Differences: NA
Class name: avSession;
API declaration: enum ProtocolType
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: ProtocolType;
API declaration: TYPE_LOCAL = 0
Differences: NA
Class name: ProtocolType;
API declaration: TYPE_LOCAL = 0
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: ProtocolType;
API declaration: TYPE_CAST_PLUS_STREAM = 2
Differences: NA
Class name: ProtocolType;
API declaration: TYPE_CAST_PLUS_STREAM = 2
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: type AVSessionType = 'audio' |'video' |'voice_call';
Differences: NA
Class name: avSession;
API declaration: type AVSessionType = 'audio' |'video' |'voice_call' |'video_call';
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVSession
Differences: NA
Class name: avSession;
API declaration: interface AVSession
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: readonly sessionId: string;
Differences: NA
Class name: AVSession;
API declaration: readonly sessionId: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: readonly sessionType: AVSessionType;
Differences: NA
Class name: AVSession;
API declaration: readonly sessionType: AVSessionType;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: setAVMetadata(data: AVMetadata): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: setAVMetadata(data: AVMetadata): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: setAVPlaybackState(state: AVPlaybackState): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: setAVPlaybackState(state: AVPlaybackState): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: setLaunchAbility(ability: WantAgent): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: setLaunchAbility(ability: WantAgent): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: dispatchSessionEvent(event: string, args: {
[key: string]: Object;
}): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: dispatchSessionEvent(event: string, args: {
[key: string]: Object;
}): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: setAVQueueItems(items: Array<AVQueueItem>): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: setAVQueueItems(items: Array<AVQueueItem>): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: setAVQueueTitle(title: string): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: setAVQueueTitle(title: string): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: setExtras(extras: {
[key: string]: Object;
}): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: setExtras(extras: {
[key: string]: Object;
}): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: getController(): Promise<AVSessionController>;
Differences: NA
Class name: AVSession;
API declaration: getController(): Promise<AVSessionController>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: getAVCastController(): Promise<AVCastController>;
Differences: NA
Class name: AVSession;
API declaration: getAVCastController(): Promise<AVCastController>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: getOutputDevice(): Promise<OutputDeviceInfo>;
Differences: NA
Class name: AVSession;
API declaration: getOutputDevice(): Promise<OutputDeviceInfo>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: getOutputDeviceSync(): OutputDeviceInfo;
Differences: NA
Class name: AVSession;
API declaration: getOutputDeviceSync(): OutputDeviceInfo;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'play', callback: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'play', callback: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'pause', callback: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'pause', callback: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'stop', callback: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'stop', callback: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'playNext', callback: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'playNext', callback: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'playPrevious', callback: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'playPrevious', callback: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'fastForward', callback: (time?: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'fastForward', callback: (time?: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'rewind', callback: (time?: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'rewind', callback: (time?: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'play', callback?: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'play', callback?: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'pause', callback?: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'pause', callback?: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'stop', callback?: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'stop', callback?: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'playNext', callback?: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'playNext', callback?: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'playPrevious', callback?: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'playPrevious', callback?: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'fastForward', callback?: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'fastForward', callback?: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'rewind', callback?: () => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'rewind', callback?: () => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'playFromAssetId', callback: (assetId: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'playFromAssetId', callback: (assetId: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'playFromAssetId', callback?: (assetId: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'playFromAssetId', callback?: (assetId: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'seek', callback: (time: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'seek', callback: (time: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'seek', callback?: (time: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'seek', callback?: (time: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'setSpeed', callback: (speed: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'setSpeed', callback: (speed: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'setSpeed', callback?: (speed: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'setSpeed', callback?: (speed: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'toggleFavorite', callback: (assetId: string) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'commonCommand', callback: (command: string, args: {
[key: string]: Object;
}) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'commonCommand', callback: (command: string, args: {
[key: string]: Object;
}) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'commonCommand', callback?: (command: string, args: {
[key: string]: Object;
}) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'commonCommand', callback?: (command: string, args: {
[key: string]: Object;
}) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'skipToQueueItem', callback: (itemId: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'skipToQueueItem', callback: (itemId: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'skipToQueueItem', callback?: (itemId: number) => void): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'skipToQueueItem', callback?: (itemId: number) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'answer', callback: Callback<void>): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'answer', callback: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'answer', callback?: Callback<void>): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'answer', callback?: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'hangUp', callback: Callback<void>): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'hangUp', callback: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'hangUp', callback?: Callback<void>): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'hangUp', callback?: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: on(type: 'toggleCallMute', callback: Callback<void>): void;
Differences: NA
Class name: AVSession;
API declaration: on(type: 'toggleCallMute', callback: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: off(type: 'toggleCallMute', callback?: Callback<void>): void;
Differences: NA
Class name: AVSession;
API declaration: off(type: 'toggleCallMute', callback?: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: stopCasting(): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: stopCasting(): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: activate(): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: activate(): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: deactivate(): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: deactivate(): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSession;
API declaration: destroy(): Promise<void>;
Differences: NA
Class name: AVSession;
API declaration: destroy(): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: type AVCastControlCommandType = 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setVolume' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'toggleMute';
Differences: NA
Class name: avSession;
API declaration: type AVCastControlCommandType = 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setVolume' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'toggleMute';
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVCastControlCommand
Differences: NA
Class name: avSession;
API declaration: interface AVCastControlCommand
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastControlCommand;
API declaration: command: AVCastControlCommandType;
Differences: NA
Class name: AVCastControlCommand;
API declaration: command: AVCastControlCommandType;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastControlCommand;
API declaration: parameter?: media.PlaybackSpeed |number |string |LoopMode;
Differences: NA
Class name: AVCastControlCommand;
API declaration: parameter?: media.PlaybackSpeed |number |string |LoopMode;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVCastController
Differences: NA
Class name: avSession;
API declaration: interface AVCastController
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: getAVPlaybackState(): Promise<AVPlaybackState>;
Differences: NA
Class name: AVCastController;
API declaration: getAVPlaybackState(): Promise<AVPlaybackState>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: sendControlCommand(command: AVCastControlCommand): Promise<void>;
Differences: NA
Class name: AVCastController;
API declaration: sendControlCommand(command: AVCastControlCommand): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: start(item: AVQueueItem): Promise<void>;
Differences: NA
Class name: AVCastController;
API declaration: start(item: AVQueueItem): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: prepare(item: AVQueueItem): Promise<void>;
Differences: NA
Class name: AVCastController;
API declaration: prepare(item: AVQueueItem): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: getCurrentItem(): Promise<AVQueueItem>;
Differences: NA
Class name: AVCastController;
API declaration: getCurrentItem(): Promise<AVQueueItem>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: release(): Promise<void>;
Differences: NA
Class name: AVCastController;
API declaration: release(): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> |'all', callback: (state: AVPlaybackState) => void): void;
Differences: NA
Class name: AVCastController;
API declaration: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> |'all', callback: (state: AVPlaybackState) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void;
Differences: NA
Class name: AVCastController;
API declaration: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: on(type: 'mediaItemChange', callback: Callback<AVQueueItem>): void;
Differences: NA
Class name: AVCastController;
API declaration: on(type: 'mediaItemChange', callback: Callback<AVQueueItem>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: off(type: 'mediaItemChange'): void;
Differences: NA
Class name: AVCastController;
API declaration: off(type: 'mediaItemChange'): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: on(type: 'playNext', callback: Callback<void>): void;
Differences: NA
Class name: AVCastController;
API declaration: on(type: 'playNext', callback: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: off(type: 'playNext'): void;
Differences: NA
Class name: AVCastController;
API declaration: off(type: 'playNext'): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: on(type: 'playPrevious', callback: Callback<void>): void;
Differences: NA
Class name: AVCastController;
API declaration: on(type: 'playPrevious', callback: Callback<void>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: off(type: 'playPrevious'): void;
Differences: NA
Class name: AVCastController;
API declaration: off(type: 'playPrevious'): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: on(type: 'seekDone', callback: Callback<number>): void;
Differences: NA
Class name: AVCastController;
API declaration: on(type: 'seekDone', callback: Callback<number>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: off(type: 'seekDone'): void;
Differences: NA
Class name: AVCastController;
API declaration: off(type: 'seekDone'): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: on(type: 'error', callback: ErrorCallback): void;
Differences: NA
Class name: AVCastController;
API declaration: on(type: 'error', callback: ErrorCallback): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastController;
API declaration: off(type: 'error'): void;
Differences: NA
Class name: AVCastController;
API declaration: off(type: 'error'): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum ConnectionState
Differences: NA
Class name: avSession;
API declaration: enum ConnectionState
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: ConnectionState;
API declaration: STATE_CONNECTING = 0
Differences: NA
Class name: ConnectionState;
API declaration: STATE_CONNECTING = 0
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: ConnectionState;
API declaration: STATE_CONNECTED = 1
Differences: NA
Class name: ConnectionState;
API declaration: STATE_CONNECTED = 1
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: ConnectionState;
API declaration: STATE_DISCONNECTED = 6
Differences: NA
Class name: ConnectionState;
API declaration: STATE_DISCONNECTED = 6
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVMetadata
Differences: NA
Class name: avSession;
API declaration: interface AVMetadata
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: assetId: string;
Differences: NA
Class name: AVMetadata;
API declaration: assetId: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: title?: string;
Differences: NA
Class name: AVMetadata;
API declaration: title?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: artist?: string;
Differences: NA
Class name: AVMetadata;
API declaration: artist?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: author?: string;
Differences: NA
Class name: AVMetadata;
API declaration: author?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: album?: string;
Differences: NA
Class name: AVMetadata;
API declaration: album?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: writer?: string;
Differences: NA
Class name: AVMetadata;
API declaration: writer?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: duration?: number;
Differences: NA
Class name: AVMetadata;
API declaration: duration?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: mediaImage?: image.PixelMap |string;
Differences: NA
Class name: AVMetadata;
API declaration: mediaImage?: image.PixelMap |string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: subtitle?: string;
Differences: NA
Class name: AVMetadata;
API declaration: subtitle?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: description?: string;
Differences: NA
Class name: AVMetadata;
API declaration: description?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: previousAssetId?: string;
Differences: NA
Class name: AVMetadata;
API declaration: previousAssetId?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: nextAssetId?: string;
Differences: NA
Class name: AVMetadata;
API declaration: nextAssetId?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMetadata;
API declaration: filter?: number;
Differences: NA
Class name: AVMetadata;
API declaration: filter?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVMediaDescription
Differences: NA
Class name: avSession;
API declaration: interface AVMediaDescription
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: assetId: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: assetId: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: title?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: title?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: subtitle?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: subtitle?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: description?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: description?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: mediaImage?: image.PixelMap |string;
Differences: NA
Class name: AVMediaDescription;
API declaration: mediaImage?: image.PixelMap |string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: mediaType?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: mediaType?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: mediaSize?: number;
Differences: NA
Class name: AVMediaDescription;
API declaration: mediaSize?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: albumTitle?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: albumTitle?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: albumCoverUri?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: albumCoverUri?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: lyricContent?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: lyricContent?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: lyricUri?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: lyricUri?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: artist?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: artist?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: mediaUri?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: mediaUri?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: fdSrc?: media.AVFileDescriptor;
Differences: NA
Class name: AVMediaDescription;
API declaration: fdSrc?: media.AVFileDescriptor;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: duration?: number;
Differences: NA
Class name: AVMediaDescription;
API declaration: duration?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: startPosition?: number;
Differences: NA
Class name: AVMediaDescription;
API declaration: startPosition?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: creditsPosition?: number;
Differences: NA
Class name: AVMediaDescription;
API declaration: creditsPosition?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: appName?: string;
Differences: NA
Class name: AVMediaDescription;
API declaration: appName?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVMediaDescription;
API declaration: displayTags?: number;
Differences: NA
Class name: AVMediaDescription;
API declaration: displayTags?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVQueueItem
Differences: NA
Class name: avSession;
API declaration: interface AVQueueItem
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVQueueItem;
API declaration: itemId: number;
Differences: NA
Class name: AVQueueItem;
API declaration: itemId: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVQueueItem;
API declaration: description?: AVMediaDescription;
Differences: NA
Class name: AVQueueItem;
API declaration: description?: AVMediaDescription;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVPlaybackState
Differences: NA
Class name: avSession;
API declaration: interface AVPlaybackState
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: state?: PlaybackState;
Differences: NA
Class name: AVPlaybackState;
API declaration: state?: PlaybackState;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: speed?: number;
Differences: NA
Class name: AVPlaybackState;
API declaration: speed?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: position?: PlaybackPosition;
Differences: NA
Class name: AVPlaybackState;
API declaration: position?: PlaybackPosition;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: bufferedTime?: number;
Differences: NA
Class name: AVPlaybackState;
API declaration: bufferedTime?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: loopMode?: LoopMode;
Differences: NA
Class name: AVPlaybackState;
API declaration: loopMode?: LoopMode;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: isFavorite?: boolean;
Differences: NA
Class name: AVPlaybackState;
API declaration: isFavorite?: boolean;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: activeItemId?: number;
Differences: NA
Class name: AVPlaybackState;
API declaration: activeItemId?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: volume?: number;
Differences: NA
Class name: AVPlaybackState;
API declaration: volume?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: maxVolume?: number;
Differences: NA
Class name: AVPlaybackState;
API declaration: maxVolume?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: muted?: boolean;
Differences: NA
Class name: AVPlaybackState;
API declaration: muted?: boolean;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: videoWidth?: number;
Differences: NA
Class name: AVPlaybackState;
API declaration: videoWidth?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: videoHeight?: number;
Differences: NA
Class name: AVPlaybackState;
API declaration: videoHeight?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVPlaybackState;
API declaration: extras?: {
[key: string]: Object;
};
Differences: NA
Class name: AVPlaybackState;
API declaration: extras?: {
[key: string]: Object;
};
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface PlaybackPosition
Differences: NA
Class name: avSession;
API declaration: interface PlaybackPosition
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackPosition;
API declaration: elapsedTime: number;
Differences: NA
Class name: PlaybackPosition;
API declaration: elapsedTime: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackPosition;
API declaration: updateTime: number;
Differences: NA
Class name: PlaybackPosition;
API declaration: updateTime: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface CallMetadata
Differences: NA
Class name: avSession;
API declaration: interface CallMetadata
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallMetadata;
API declaration: name?: string;
Differences: NA
Class name: CallMetadata;
API declaration: name?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallMetadata;
API declaration: phoneNumber?: string;
Differences: NA
Class name: CallMetadata;
API declaration: phoneNumber?: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallMetadata;
API declaration: avatar?: image.PixelMap;
Differences: NA
Class name: CallMetadata;
API declaration: avatar?: image.PixelMap;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVCallState
Differences: NA
Class name: avSession;
API declaration: interface AVCallState
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCallState;
API declaration: state: CallState;
Differences: NA
Class name: AVCallState;
API declaration: state: CallState;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCallState;
API declaration: muted: boolean;
Differences: NA
Class name: AVCallState;
API declaration: muted: boolean;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum CallState
Differences: NA
Class name: avSession;
API declaration: enum CallState
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallState;
API declaration: CALL_STATE_IDLE = 0
Differences: NA
Class name: CallState;
API declaration: CALL_STATE_IDLE = 0
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallState;
API declaration: CALL_STATE_INCOMING = 1
Differences: NA
Class name: CallState;
API declaration: CALL_STATE_INCOMING = 1
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallState;
API declaration: CALL_STATE_ACTIVE = 2
Differences: NA
Class name: CallState;
API declaration: CALL_STATE_ACTIVE = 2
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallState;
API declaration: CALL_STATE_DIALING = 3
Differences: NA
Class name: CallState;
API declaration: CALL_STATE_DIALING = 3
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallState;
API declaration: CALL_STATE_WAITING = 4
Differences: NA
Class name: CallState;
API declaration: CALL_STATE_WAITING = 4
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallState;
API declaration: CALL_STATE_HOLDING = 5
Differences: NA
Class name: CallState;
API declaration: CALL_STATE_HOLDING = 5
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: CallState;
API declaration: CALL_STATE_DISCONNECTING = 6
Differences: NA
Class name: CallState;
API declaration: CALL_STATE_DISCONNECTING = 6
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum AVCastCategory
Differences: NA
Class name: avSession;
API declaration: enum AVCastCategory
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastCategory;
API declaration: CATEGORY_LOCAL = 0
Differences: NA
Class name: AVCastCategory;
API declaration: CATEGORY_LOCAL = 0
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVCastCategory;
API declaration: CATEGORY_REMOTE = 1
Differences: NA
Class name: AVCastCategory;
API declaration: CATEGORY_REMOTE = 1
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum DeviceType
Differences: NA
Class name: avSession;
API declaration: enum DeviceType
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceType;
API declaration: DEVICE_TYPE_LOCAL = 0
Differences: NA
Class name: DeviceType;
API declaration: DEVICE_TYPE_LOCAL = 0
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceType;
API declaration: DEVICE_TYPE_TV = 2
Differences: NA
Class name: DeviceType;
API declaration: DEVICE_TYPE_TV = 2
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceType;
API declaration: DEVICE_TYPE_SMART_SPEAKER = 3
Differences: NA
Class name: DeviceType;
API declaration: DEVICE_TYPE_SMART_SPEAKER = 3
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceType;
API declaration: DEVICE_TYPE_BLUETOOTH = 10
Differences: NA
Class name: DeviceType;
API declaration: DEVICE_TYPE_BLUETOOTH = 10
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface DeviceInfo
Differences: NA
Class name: avSession;
API declaration: interface DeviceInfo
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceInfo;
API declaration: castCategory: AVCastCategory;
Differences: NA
Class name: DeviceInfo;
API declaration: castCategory: AVCastCategory;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceInfo;
API declaration: deviceId: string;
Differences: NA
Class name: DeviceInfo;
API declaration: deviceId: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceInfo;
API declaration: deviceName: string;
Differences: NA
Class name: DeviceInfo;
API declaration: deviceName: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceInfo;
API declaration: deviceType: DeviceType;
Differences: NA
Class name: DeviceInfo;
API declaration: deviceType: DeviceType;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: DeviceInfo;
API declaration: supportedProtocols?: number;
Differences: NA
Class name: DeviceInfo;
API declaration: supportedProtocols?: number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface OutputDeviceInfo
Differences: NA
Class name: avSession;
API declaration: interface OutputDeviceInfo
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: OutputDeviceInfo;
API declaration: devices: Array<DeviceInfo>;
Differences: NA
Class name: OutputDeviceInfo;
API declaration: devices: Array<DeviceInfo>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum LoopMode
Differences: NA
Class name: avSession;
API declaration: enum LoopMode
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: LoopMode;
API declaration: LOOP_MODE_SEQUENCE = 0
Differences: NA
Class name: LoopMode;
API declaration: LOOP_MODE_SEQUENCE = 0
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: LoopMode;
API declaration: LOOP_MODE_SINGLE = 1
Differences: NA
Class name: LoopMode;
API declaration: LOOP_MODE_SINGLE = 1
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: LoopMode;
API declaration: LOOP_MODE_LIST = 2
Differences: NA
Class name: LoopMode;
API declaration: LOOP_MODE_LIST = 2
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: LoopMode;
API declaration: LOOP_MODE_SHUFFLE = 3
Differences: NA
Class name: LoopMode;
API declaration: LOOP_MODE_SHUFFLE = 3
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: LoopMode;
API declaration: LOOP_MODE_CUSTOM = 4
Differences: NA
Class name: LoopMode;
API declaration: LOOP_MODE_CUSTOM = 4
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum PlaybackState
Differences: NA
Class name: avSession;
API declaration: enum PlaybackState
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_INITIAL = 0
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_INITIAL = 0
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_PREPARE = 1
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_PREPARE = 1
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_PLAY = 2
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_PLAY = 2
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_PAUSE = 3
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_PAUSE = 3
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_FAST_FORWARD = 4
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_FAST_FORWARD = 4
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_REWIND = 5
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_REWIND = 5
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_STOP = 6
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_STOP = 6
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_COMPLETED = 7
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_COMPLETED = 7
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_RELEASED = 8
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_RELEASED = 8
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_ERROR = 9
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_ERROR = 9
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_IDLE = 10
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_IDLE = 10
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: PlaybackState;
API declaration: PLAYBACK_STATE_BUFFERING = 11
Differences: NA
Class name: PlaybackState;
API declaration: PLAYBACK_STATE_BUFFERING = 11
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVSessionController
Differences: NA
Class name: avSession;
API declaration: interface AVSessionController
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: readonly sessionId: string;
Differences: NA
Class name: AVSessionController;
API declaration: readonly sessionId: string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVPlaybackState(): Promise<AVPlaybackState>;
Differences: NA
Class name: AVSessionController;
API declaration: getAVPlaybackState(): Promise<AVPlaybackState>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVPlaybackStateSync(): AVPlaybackState;
Differences: NA
Class name: AVSessionController;
API declaration: getAVPlaybackStateSync(): AVPlaybackState;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVMetadata(): Promise<AVMetadata>;
Differences: NA
Class name: AVSessionController;
API declaration: getAVMetadata(): Promise<AVMetadata>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVMetadataSync(): AVMetadata;
Differences: NA
Class name: AVSessionController;
API declaration: getAVMetadataSync(): AVMetadata;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVQueueTitle(): Promise<string>;
Differences: NA
Class name: AVSessionController;
API declaration: getAVQueueTitle(): Promise<string>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVQueueTitleSync(): string;
Differences: NA
Class name: AVSessionController;
API declaration: getAVQueueTitleSync(): string;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVQueueItems(): Promise<Array<AVQueueItem>>;
Differences: NA
Class name: AVSessionController;
API declaration: getAVQueueItems(): Promise<Array<AVQueueItem>>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getAVQueueItemsSync(): Array<AVQueueItem>;
Differences: NA
Class name: AVSessionController;
API declaration: getAVQueueItemsSync(): Array<AVQueueItem>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: skipToQueueItem(itemId: number): Promise<void>;
Differences: NA
Class name: AVSessionController;
API declaration: skipToQueueItem(itemId: number): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getOutputDevice(): Promise<OutputDeviceInfo>;
Differences: NA
Class name: AVSessionController;
API declaration: getOutputDevice(): Promise<OutputDeviceInfo>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getOutputDeviceSync(): OutputDeviceInfo;
Differences: NA
Class name: AVSessionController;
API declaration: getOutputDeviceSync(): OutputDeviceInfo;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: sendAVKeyEvent(event: KeyEvent): Promise<void>;
Differences: NA
Class name: AVSessionController;
API declaration: sendAVKeyEvent(event: KeyEvent): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getLaunchAbility(): Promise<WantAgent>;
Differences: NA
Class name: AVSessionController;
API declaration: getLaunchAbility(): Promise<WantAgent>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getRealPlaybackPositionSync(): number;
Differences: NA
Class name: AVSessionController;
API declaration: getRealPlaybackPositionSync(): number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: isActive(): Promise<boolean>;
Differences: NA
Class name: AVSessionController;
API declaration: isActive(): Promise<boolean>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: isActiveSync(): boolean;
Differences: NA
Class name: AVSessionController;
API declaration: isActiveSync(): boolean;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: destroy(): Promise<void>;
Differences: NA
Class name: AVSessionController;
API declaration: destroy(): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getValidCommands(): Promise<Array<AVControlCommandType>>;
Differences: NA
Class name: AVSessionController;
API declaration: getValidCommands(): Promise<Array<AVControlCommandType>>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getValidCommandsSync(): Array<AVControlCommandType>;
Differences: NA
Class name: AVSessionController;
API declaration: getValidCommandsSync(): Array<AVControlCommandType>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: sendControlCommand(command: AVControlCommand): Promise<void>;
Differences: NA
Class name: AVSessionController;
API declaration: sendControlCommand(command: AVControlCommand): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: sendCommonCommand(command: string, args: {
[key: string]: Object;
}): Promise<void>;
Differences: NA
Class name: AVSessionController;
API declaration: sendCommonCommand(command: string, args: {
[key: string]: Object;
}): Promise<void>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: getExtras(): Promise<{
[key: string]: Object;
}>;
Differences: NA
Class name: AVSessionController;
API declaration: getExtras(): Promise<{
[key: string]: Object;
}>;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'metadataChange', filter: Array<keyof AVMetadata> |'all', callback: (data: AVMetadata) => void);
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'metadataChange', filter: Array<keyof AVMetadata> |'all', callback: (data: AVMetadata) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'metadataChange', callback?: (data: AVMetadata) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> |'all', callback: (state: AVPlaybackState) => void);
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'playbackStateChange', filter: Array<keyof AVPlaybackState> |'all', callback: (state: AVPlaybackState) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'callMetadataChange', filter: Array<keyof CallMetadata> |'all', callback: Callback<CallMetadata>): void;
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'callMetadataChange', filter: Array<keyof CallMetadata> |'all', callback: Callback<CallMetadata>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'callMetadataChange', callback?: Callback<CallMetadata>): void;
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'callMetadataChange', callback?: Callback<CallMetadata>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'callStateChange', filter: Array<keyof AVCallState> |'all', callback: Callback<AVCallState>): void;
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'callStateChange', filter: Array<keyof AVCallState> |'all', callback: Callback<AVCallState>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'callStateChange', callback?: Callback<AVCallState>): void;
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'callStateChange', callback?: Callback<AVCallState>): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'sessionDestroy', callback: () => void);
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'sessionDestroy', callback: () => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'sessionDestroy', callback?: () => void);
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'sessionDestroy', callback?: () => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'activeStateChange', callback: (isActive: boolean) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'activeStateChange', callback?: (isActive: boolean) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'validCommandChange', callback: (commands: Array<AVControlCommandType>) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'validCommandChange', callback?: (commands: Array<AVControlCommandType>) => void);
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'validCommandChange', callback?: (commands: Array<AVControlCommandType>) => void);
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'outputDeviceChange', callback: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'outputDeviceChange', callback?: (state: ConnectionState, device: OutputDeviceInfo) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'sessionEvent', callback: (sessionEvent: string, args: {
[key: string]: Object;
}) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'sessionEvent', callback: (sessionEvent: string, args: {
[key: string]: Object;
}) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {
[key: string]: Object;
}) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'sessionEvent', callback?: (sessionEvent: string, args: {
[key: string]: Object;
}) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'queueItemsChange', callback: (items: Array<AVQueueItem>) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'queueItemsChange', callback: (items: Array<AVQueueItem>) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'queueItemsChange', callback?: (items: Array<AVQueueItem>) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'queueItemsChange', callback?: (items: Array<AVQueueItem>) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'queueTitleChange', callback: (title: string) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'queueTitleChange', callback: (title: string) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'queueTitleChange', callback?: (title: string) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'queueTitleChange', callback?: (title: string) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: on(type: 'extrasChange', callback: (extras: {
[key: string]: Object;
}) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: on(type: 'extrasChange', callback: (extras: {
[key: string]: Object;
}) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionController;
API declaration: off(type: 'extrasChange', callback?: (extras: {
[key: string]: Object;
}) => void): void;
Differences: NA
Class name: AVSessionController;
API declaration: off(type: 'extrasChange', callback?: (extras: {
[key: string]: Object;
}) => void): void;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: type AVControlCommandType = 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'playFromAssetId' |'answer' |'hangUp' |'toggleCallMute';
Differences: NA
Class name: avSession;
API declaration: type AVControlCommandType = 'play' |'pause' |'stop' |'playNext' |'playPrevious' |'fastForward' |'rewind' |'seek' |'setSpeed' |'setLoopMode' |'toggleFavorite' |'playFromAssetId' |'answer' |'hangUp' |'toggleCallMute';
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: interface AVControlCommand
Differences: NA
Class name: avSession;
API declaration: interface AVControlCommand
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVControlCommand;
API declaration: command: AVControlCommandType;
Differences: NA
Class name: AVControlCommand;
API declaration: command: AVControlCommandType;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVControlCommand;
API declaration: parameter?: LoopMode |string |number;
Differences: NA
Class name: AVControlCommand;
API declaration: parameter?: LoopMode |string |number;
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: avSession;
API declaration: enum AVSessionErrorCode
Differences: NA
Class name: avSession;
API declaration: enum AVSessionErrorCode
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_SERVICE_EXCEPTION = 6600101
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_SERVICE_EXCEPTION = 6600101
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_SESSION_NOT_EXIST = 6600102
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_SESSION_NOT_EXIST = 6600102
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_CONTROLLER_NOT_EXIST = 6600103
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_CONTROLLER_NOT_EXIST = 6600103
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_REMOTE_CONNECTION_ERR = 6600104
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_REMOTE_CONNECTION_ERR = 6600104
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_COMMAND_INVALID = 6600105
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_COMMAND_INVALID = 6600105
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_SESSION_INACTIVE = 6600106
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_SESSION_INACTIVE = 6600106
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_MESSAGE_OVERLOAD = 6600107
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_MESSAGE_OVERLOAD = 6600107
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_DEVICE_CONNECTION_FAILED = 6600108
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_DEVICE_CONNECTION_FAILED = 6600108
Differences: atomicservice
api/@ohos.multimedia.avsession.d.ts
New support for atomic servicesClass name: AVSessionErrorCode;
API declaration: ERR_CODE_REMOTE_CONNECTION_NOT_EXIST = 6600109
Differences: NA
Class name: AVSessionErrorCode;
API declaration: ERR_CODE_REMOTE_CONNECTION_NOT_EXIST = 6600109
Differences: atomicservice
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-ArkData

openharmony 鸿蒙 js-apidiff-NA

openharmony 鸿蒙 js-apidiff-IPCKit

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