harmony 鸿蒙js-apidiff-multimedia

  • 2023-06-24
  • 浏览 (204)

Change Type Old Version New Version d.ts File
Added NA Module name: ohos.effectKit
Class name: ColorPicker
Method or attribute name: getLargestProportionColor(): Color;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker
Method or attribute name: getLargestProportionColor(): Color;
@ohos.effectKit.d.ts
Added NA Module name: ohos.effectKit
Class name: ColorPicker
Method or attribute name: getHighestSaturationColor(): Color;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker
Method or attribute name: getHighestSaturationColor(): Color;
@ohos.effectKit.d.ts
Added NA Module name: ohos.effectKit
Class name: ColorPicker
Method or attribute name: getAverageColor(): Color;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker
Method or attribute name: getAverageColor(): Color;
@ohos.effectKit.d.ts
Added NA Module name: ohos.effectKit
Class name: ColorPicker
Method or attribute name: isBlackOrWhiteOrGrayColor(color: number): boolean;
@ohos.effectKit.d.ts
Added NA Class name: ColorPicker
Method or attribute name: isBlackOrWhiteOrGrayColor(color: number): boolean;
@ohos.effectKit.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioVolumeType
Method or attribute name: ALARM = 4
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioVolumeType
Method or attribute name: ACCESSIBILITY = 5
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioVolumeType
Method or attribute name: ULTRASONIC = 10
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: ContentType
Method or attribute name: CONTENT_TYPE_ULTRASONIC = 9
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: StreamUsage
Method or attribute name: STREAM_USAGE_ALARM = 4
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: StreamUsage
Method or attribute name: STREAM_USAGE_ACCESSIBILITY = 8
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: StreamUsage
Method or attribute name: STREAM_USAGE_SYSTEM = 9
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRendererFilter
Method or attribute name: uid?: number;
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioRoutingManager
Method or attribute name: getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo, callback: AsyncCallback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager
Method or attribute name: getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo, callback: AsyncCallback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioRoutingManager
Method or attribute name: getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo): Promise<AudioDeviceDescriptors>;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager
Method or attribute name: getPreferOutputDeviceForRendererInfo(rendererInfo: AudioRendererInfo): Promise<AudioDeviceDescriptors>;
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioRoutingManager
Method or attribute name: on(type: ‘preferOutputDeviceChangeForRendererInfo’, rendererInfo: AudioRendererInfo, callback: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager
Method or attribute name: on(type: ‘preferOutputDeviceChangeForRendererInfo’, rendererInfo: AudioRendererInfo, callback: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioRoutingManager
Method or attribute name: off(type: ‘preferOutputDeviceChangeForRendererInfo’, callback?: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioRoutingManager
Method or attribute name: off(type: ‘preferOutputDeviceChangeForRendererInfo’, callback?: Callback<AudioDeviceDescriptors>): void;
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioDeviceDescriptor
Method or attribute name: readonly displayName: string;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioDeviceDescriptor
Method or attribute name: readonly displayName: string;
@ohos.multimedia.audio.d.ts
Added NA Module name: ohos.multimedia.audio
Class name: AudioCapturer
Method or attribute name: on(type: ‘audioInterrupt’, callback: Callback<InterruptEvent>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: AudioCapturer
Method or attribute name: on(type: ‘audioInterrupt’, callback: Callback<InterruptEvent>): void;
@ohos.multimedia.audio.d.ts
Added NA Class name: avSession
Method or attribute name: function getHistoricalSessionDescriptors(maxSize: number, callback: AsyncCallback<Array<Readonly<AVSessionDescriptor>>>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: avSession
Method or attribute name: function getHistoricalSessionDescriptors(maxSize?: number): Promise<Array<Readonly<AVSessionDescriptor>>>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: dispatchSessionEvent(event: string, args: { [key: string]: Object }, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: dispatchSessionEvent(event: string, args: { [key: string]: Object }): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: setAVQueueItems(items: Array<AVQueueItem>, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: setAVQueueItems(items: Array<AVQueueItem>): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: setAVQueueTitle(title: string, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: setAVQueueTitle(title: string): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: setExtras(extras: {[key: string]: Object}, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: setExtras(extras: {[key: string]: Object}): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: on(type: ‘commonCommand’, callback: (command: string, args: { [key: string]: Object }) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: off(type: ‘commonCommand’, callback?: (command: string, args: { [key: string]: Object }) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: on(type: ‘skipToQueueItem’, callback: (itemId: number) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSession
Method or attribute name: off(type: ‘skipToQueueItem’, callback?: (itemId: number) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: mediaId: string;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: title?: string;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: subtitle?: string;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: description?: string;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: icon?: image.PixelMap |string;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: iconUri?: string;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: extras?: { [key: string]: Object };
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVMediaDescription
Method or attribute name: mediaUri?: string;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVQueueItem
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVQueueItem
Method or attribute name: itemId: number;
@ohos.multimedia.avsession.d.ts
Added NA Module name: ohos.multimedia.avsession
Class name: AVQueueItem
Method or attribute name: description?: AVMediaDescription;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVPlaybackState
Method or attribute name: activeItemId?: number;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVPlaybackState
Method or attribute name: extras?: {[key: string]: Object};
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: getAVQueueTitle(callback: AsyncCallback<string>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: getAVQueueTitle(): Promise<string>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: getAVQueueItems(callback: AsyncCallback<Array<AVQueueItem>>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: getAVQueueItems(): Promise<Array<AVQueueItem>>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: skipToQueueItem(itemId: number, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: skipToQueueItem(itemId: number): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: sendCommonCommand(command: string, args: { [key: string]: Object }, callback: AsyncCallback<void>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: sendCommonCommand(command: string, args: { [key: string]: Object }): Promise<void>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: getExtras(callback: AsyncCallback<{[key: string]: Object}>): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: getExtras(): Promise<{[key: string]: Object}>;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: on(type: ‘sessionEvent’, callback: (sessionEvent: string, args: { [key: string]: Object }) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: off(type: ‘sessionEvent’, callback?: (sessionEvent: string, args: { [key: string]: Object }) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: on(type: ‘queueItemsChange’, callback: (items: Array<AVQueueItem>) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: off(type: ‘queueItemsChange’, callback?: (items: Array<AVQueueItem>) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: on(type: ‘queueTitleChange’, callback: (title: string) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: off(type: ‘queueTitleChange’, callback?: (title: string) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: on(type: ‘extrasChange’, callback: (extras: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: AVSessionController
Method or attribute name: off(type: ‘extrasChange’, callback?: (extras: {[key: string]: Object}) => void): void;
@ohos.multimedia.avsession.d.ts
Added NA Class name: PropertyKey
Method or attribute name: BITS_PER_SAMPLE = ‘BitsPerSample’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: ORIENTATION = ‘Orientation’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: IMAGE_LENGTH = ‘ImageLength’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: IMAGE_WIDTH = ‘ImageWidth’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: GPS_LATITUDE = ‘GPSLatitude’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: GPS_LONGITUDE = ‘GPSLongitude’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: GPS_LATITUDE_REF = ‘GPSLatitudeRef’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: GPS_LONGITUDE_REF = ‘GPSLongitudeRef’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: DATE_TIME_ORIGINAL = ‘DateTimeOriginal’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: EXPOSURE_TIME = ‘ExposureTime’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: SCENE_TYPE = ‘SceneType’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: ISO_SPEED_RATINGS = ‘ISOSpeedRatings’
@ohos.multimedia.image.d.ts
Added NA Class name: PropertyKey
Method or attribute name: F_NUMBER = ‘FNumber’
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource
Method or attribute name: createPixelMapList(options?: DecodingOptions): Promise<Array<PixelMap>>;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource
Method or attribute name: createPixelMapList(callback: AsyncCallback<Array<PixelMap>>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource
Method or attribute name: createPixelMapList(options: DecodingOptions, callback: AsyncCallback<Array<PixelMap>>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource
Method or attribute name: getDelayTime(): Promise<Array<number>>;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource
Method or attribute name: getDelayTime(callback: AsyncCallback<Array<number>>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource
Method or attribute name: getFrameCount(): Promise<number>;
@ohos.multimedia.image.d.ts
Added NA Class name: ImageSource
Method or attribute name: getFrameCount(callback: AsyncCallback<number>): void;
@ohos.multimedia.image.d.ts
Added NA Class name: AVPlayer
Method or attribute name: dataSrc?: AVDataSrcDescriptor;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: audioRendererInfo?: audio.AudioRendererInfo;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVDataSrcDescriptor
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVDataSrcDescriptor
Method or attribute name: fileSize: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVDataSrcDescriptor
Method or attribute name: callback: (buffer: ArrayBuffer, length: number, pos?: number) => number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: systemSoundManager
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: RingtoneType
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: RingtoneType
Method or attribute name: RINGTONE_TYPE_DEFAULT = 0
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: RingtoneType
Method or attribute name: RINGTONE_TYPE_MULTISIM = 1
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: systemSoundManager
Method or attribute name: function getSystemSoundManager(): SystemSoundManager;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: SystemSoundManager
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: SystemSoundManager
Method or attribute name: setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType, callback: AsyncCallback<void>): void;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: SystemSoundManager
Method or attribute name: setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType): Promise<void>;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: SystemSoundManager
Method or attribute name: getSystemRingtoneUri(context: Context, type: RingtoneType, callback: AsyncCallback<string>): void;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: SystemSoundManager
Method or attribute name: getSystemRingtoneUri(context: Context, type: RingtoneType): Promise<string>;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: SystemSoundManager
Method or attribute name: getSystemRingtonePlayer(context: Context, type: RingtoneType, callback: AsyncCallback<RingtonePlayer>): void;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ohos.multimedia.systemSoundManager
Class name: SystemSoundManager
Method or attribute name: getSystemRingtonePlayer(context: Context, type: RingtoneType): Promise<RingtonePlayer>;
@ohos.multimedia.systemSoundManager.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtoneOptions
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtoneOptions
Method or attribute name: volume: number;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtoneOptions
Method or attribute name: loop: boolean;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: readonly state: media.AVPlayerState;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: getTitle(callback: AsyncCallback<string>): void;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: getTitle(): Promise<string>;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: getAudioRendererInfo(callback: AsyncCallback<audio.AudioRendererInfo>): void;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: getAudioRendererInfo(): Promise<audio.AudioRendererInfo>;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: configure(options: RingtoneOptions, callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: configure(options: RingtoneOptions): Promise<void>;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: start(callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: start(): Promise<void>;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: stop(callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: stop(): Promise<void>;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: release(callback: AsyncCallback<void>): void;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: release(): Promise<void>;
ringtonePlayer.d.ts
Added NA Module name: ringtonePlayer
Class name: RingtonePlayer
Method or attribute name: on(type: ‘audioInterrupt’, callback: Callback<audio.InterruptEvent>): void;
ringtonePlayer.d.ts
Access level changed Class name: VolumeEvent
Access level: public API
Class name: VolumeEvent
Access level: system API
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeEvent
Method or attribute name: volumeType: AudioVolumeType;;
Access level: public API
Class name: VolumeEvent
Method or attribute name: volumeType: AudioVolumeType;;
Access level: system API
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeEvent
Method or attribute name: volume: number;
Access level: public API
Class name: VolumeEvent
Method or attribute name: volume: number;
Access level: system API
@ohos.multimedia.audio.d.ts
Access level changed Class name: VolumeEvent
Method or attribute name: updateUi: boolean;
Access level: public API
Class name: VolumeEvent
Method or attribute name: updateUi: boolean;;
Access level: system API
@ohos.multimedia.audio.d.ts
Access level changed Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: system API
Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;
Access level: system API
Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback<AVSession>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;
Access level: system API
Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Access level: system API
Class name: AVSession
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: system API
Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;
Access level: system API
Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;
Access level: system API
Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;
Access level: system API
Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;
Access level: system API
Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback<AVSessionController>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getController(): Promise<AVSessionController>;
Access level: system API
Class name: AVSession
Method or attribute name: getController(): Promise<AVSessionController>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Access level: system API
Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
Access level: system API
Class name: AVSession
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: off(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback?: () => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: on(type: ‘seek’, callback: (time: number) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: on(type: ‘seek’, callback: (time: number) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: on(type: ‘setSpeed’, callback: (speed: number) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: on(type: ‘setSpeed’, callback: (speed: number) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘setSpeed’, callback?: (speed: number) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: off(type: ‘setSpeed’, callback?: (speed: number) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: on(type: ‘setLoopMode’, callback: (mode: LoopMode) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: on(type: ‘setLoopMode’, callback: (mode: LoopMode) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘setLoopMode’, callback?: (mode: LoopMode) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: off(type: ‘setLoopMode’, callback?: (mode: LoopMode) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: on(type: ‘toggleFavorite’, callback: (assetId: string) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: on(type: ‘toggleFavorite’, callback: (assetId: string) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘toggleFavorite’, callback?: (assetId: string) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: off(type: ‘toggleFavorite’, callback?: (assetId: string) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: on(type: ‘handleKeyEvent’, callback: (event: KeyEvent) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: on(type: ‘handleKeyEvent’, callback: (event: KeyEvent) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘handleKeyEvent’, callback?: (event: KeyEvent) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: off(type: ‘handleKeyEvent’, callback?: (event: KeyEvent) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: system API
Class name: AVSession
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: activate(): Promise<void>;
Access level: system API
Class name: AVSession
Method or attribute name: activate(): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: deactivate(): Promise<void>;
Access level: system API
Class name: AVSession
Method or attribute name: deactivate(): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: destroy(): Promise<void>;
Access level: system API
Class name: AVSession
Method or attribute name: destroy(): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Access level: system API
Class name: AVMetadata
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: assetId: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: assetId: string;;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: title?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: title?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: artist?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: artist?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: author?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: author?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: album?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: album?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: writer?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: writer?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: composer?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: composer?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: duration?: number;
Access level: system API
Class name: AVMetadata
Method or attribute name: duration?: number;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: mediaImage?: image.PixelMap |string;;
Access level: system API
Class name: AVMetadata
Method or attribute name: mediaImage?: image.PixelMap |string;;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: publishDate?: Date;
Access level: system API
Class name: AVMetadata
Method or attribute name: publishDate?: Date;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: subtitle?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: subtitle?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: description?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: description?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: lyric?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: lyric?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: previousAssetId?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: previousAssetId?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Method or attribute name: nextAssetId?: string;
Access level: system API
Class name: AVMetadata
Method or attribute name: nextAssetId?: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Access level: system API
Class name: AVPlaybackState
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Method or attribute name: state?: PlaybackState;
Access level: system API
Class name: AVPlaybackState
Method or attribute name: state?: PlaybackState;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Method or attribute name: speed?: number;
Access level: system API
Class name: AVPlaybackState
Method or attribute name: speed?: number;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Method or attribute name: position?: PlaybackPosition;
Access level: system API
Class name: AVPlaybackState
Method or attribute name: position?: PlaybackPosition;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Method or attribute name: bufferedTime?: number;
Access level: system API
Class name: AVPlaybackState
Method or attribute name: bufferedTime?: number;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Method or attribute name: loopMode?: LoopMode;
Access level: system API
Class name: AVPlaybackState
Method or attribute name: loopMode?: LoopMode;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Method or attribute name: isFavorite?: boolean;
Access level: system API
Class name: AVPlaybackState
Method or attribute name: isFavorite?: boolean;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackPosition
Access level: system API
Class name: PlaybackPosition
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackPosition
Method or attribute name: elapsedTime: number;
Access level: system API
Class name: PlaybackPosition
Method or attribute name: elapsedTime: number;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackPosition
Method or attribute name: updateTime: number;
Access level: system API
Class name: PlaybackPosition
Method or attribute name: updateTime: number;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: OutputDeviceInfo
Access level: system API
Class name: OutputDeviceInfo
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: OutputDeviceInfo
Method or attribute name: isRemote: boolean;
Access level: system API
Class name: OutputDeviceInfo
Method or attribute name: isRemote: boolean;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: OutputDeviceInfo
Method or attribute name: audioDeviceId: Array<number>;
Access level: system API
Class name: OutputDeviceInfo
Method or attribute name: audioDeviceId: Array<number>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: OutputDeviceInfo
Method or attribute name: deviceName: Array<string>;
Access level: system API
Class name: OutputDeviceInfo
Method or attribute name: deviceName: Array<string>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode
Access level: system API
Class name: LoopMode
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode
Method or attribute name: LOOP_MODE_SEQUENCE = 0,
Access level: system API
Class name: LoopMode
Method or attribute name: LOOP_MODE_SEQUENCE = 0,;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode
Method or attribute name: LOOP_MODE_SINGLE = 1,
Access level: system API
Class name: LoopMode
Method or attribute name: LOOP_MODE_SINGLE = 1,
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode
Method or attribute name: LOOP_MODE_LIST = 2,
Access level: system API
Class name: LoopMode
Method or attribute name: LOOP_MODE_LIST = 2,;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode
Method or attribute name: LOOP_MODE_SHUFFLE = 3,
Access level: system API
Class name: LoopMode
Method or attribute name: LOOP_MODE_SHUFFLE = 3,
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Access level: system API
Class name: PlaybackState
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_INITIAL = 0
Access level: system API
Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_INITIAL = 0
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_PREPARE = 1
Access level: system API
Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_PREPARE = 1
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_PLAY = 2
Access level: system API
Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_PLAY = 2
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_PAUSE = 3
Access level: system API
Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_PAUSE = 3
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_FAST_FORWARD = 4
Access level: system API
Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_FAST_FORWARD = 4
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_REWIND = 5
Access level: system API
Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_REWIND = 5
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_STOP = 6
Access level: system API
Class name: PlaybackState
Method or attribute name: PLAYBACK_STATE_STOP = 6
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Access level: system API
Class name: AVSessionController
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: system API
Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback<AVPlaybackState>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;
Access level: system API
Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise<AVPlaybackState>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback<AVMetadata>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise<AVMetadata>;
Access level: system API
Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise<AVMetadata>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback<OutputDeviceInfo>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
Access level: system API
Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise<OutputDeviceInfo>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;
Access level: system API
Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback<WantAgent>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise<WantAgent>;
Access level: system API
Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise<WantAgent>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: system API
Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback<boolean>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: isActive(): Promise<boolean>;
Access level: system API
Class name: AVSessionController
Method or attribute name: isActive(): Promise<boolean>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: destroy(): Promise<void>;
Access level: system API
Class name: AVSessionController
Method or attribute name: destroy(): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback<Array<AVControlCommandType>>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;
Access level: system API
Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise<Array<AVControlCommandType>>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback<void>): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;
Access level: system API
Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise<void>;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘metadataChange’, filter: Array<keyof AVMetadata> |‘all’, callback: (data: AVMetadata) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: on(type: ‘metadataChange’, filter: Array<keyof AVMetadata> |‘all’, callback: (data: AVMetadata) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘metadataChange’, callback?: (data: AVMetadata) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: off(type: ‘metadataChange’, callback?: (data: AVMetadata) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘playbackStateChange’, filter: Array<keyof AVPlaybackState> |‘all’, callback: (state: AVPlaybackState) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: on(type: ‘playbackStateChange’, filter: Array<keyof AVPlaybackState> |‘all’, callback: (state: AVPlaybackState) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘playbackStateChange’, callback?: (state: AVPlaybackState) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: off(type: ‘playbackStateChange’, callback?: (state: AVPlaybackState) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘sessionDestroy’, callback: () => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: on(type: ‘sessionDestroy’, callback: () => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘sessionDestroy’, callback?: () => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: off(type: ‘sessionDestroy’, callback?: () => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘activeStateChange’, callback: (isActive: boolean) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: on(type: ‘activeStateChange’, callback: (isActive: boolean) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘activeStateChange’, callback?: (isActive: boolean) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: off(type: ‘activeStateChange’, callback?: (isActive: boolean) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘validCommandChange’, callback: (commands: Array<AVControlCommandType>) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: on(type: ‘validCommandChange’, callback: (commands: Array<AVControlCommandType>) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘validCommandChange’, callback?: (commands: Array<AVControlCommandType>) => void);
Access level: system API
Class name: AVSessionController
Method or attribute name: off(type: ‘validCommandChange’, callback?: (commands: Array<AVControlCommandType>) => void);
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: system API
Class name: AVSessionController
Method or attribute name: off(type: ‘outputDeviceChange’, callback?: (device: OutputDeviceInfo) => void): void;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommand
Access level: system API
Class name: AVControlCommand
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommand
Method or attribute name: command: AVControlCommandType;
Access level: system API
Class name: AVControlCommand
Method or attribute name: command: AVControlCommandType;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommand
Method or attribute name: parameter?: LoopMode |string|number;
Access level: system API
Class name: AVControlCommand
Method or attribute name: parameter?: LoopMode |string|number;
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Access level: system API
Class name: AVSessionErrorCode
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SERVICE_EXCEPTION = 6600101
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SERVICE_EXCEPTION = 6600101,
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SESSION_NOT_EXIST = 6600102
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SESSION_NOT_EXIST = 6600102
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SESSION_NOT_EXIST = 6600102
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SESSION_NOT_EXIST = 6600102
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_CONTROLLER_NOT_EXIST = 6600103
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SESSION_NOT_EXIST = 6600103
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_REMOTE_CONNECTION_ERR = 6600104
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_REMOTE_CONNECTION_ERR = 6600104
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_COMMAND_INVALID = 6600105
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_COMMAND_INVALID = 6600105
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SESSION_INACTIVE = 6600106
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_SESSION_INACTIVE = 6600106
Access level: public API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_MESSAGE_OVERLOAD = 6600107
Access level: system API
Class name: AVSessionErrorCode
Method or attribute name: ERR_CODE_MESSAGE_OVERLOAD = 6600107
Access level: public API
@ohos.multimedia.avsession.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

0  赞