harmony 鸿蒙js-apidiff-multimedia

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

Change Type Old Version New Version d.ts File
Added NA Class name: camera
Method or attribute name: function getCameraManager(context: Context): CameraManager;
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name:
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: INVALID_ARGUMENT = 7400101
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: INVALID_ARGUMENT = 7400101
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: OPERATION_NOT_ALLOWED = 7400102
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: OPERATION_NOT_ALLOWED = 7400102
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_CONFIG = 7400103
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_CONFIG = 7400103
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_RUNNING = 7400104
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: SESSION_NOT_RUNNING = 7400104
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SESSION_CONFIG_LOCKED = 7400105
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: SESSION_CONFIG_LOCKED = 7400105
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: DEVICE_SETTING_LOCKED = 7400106
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: DEVICE_SETTING_LOCKED = 7400106
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: CONFILICT_CAMERA = 7400107
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: CONFILICT_CAMERA = 7400107
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: DEVICE_DISABLED = 7400108
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: DEVICE_DISABLED = 7400108
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.camera
Class name: CameraErrorCode
Method or attribute name: SERVICE_FATAL_ERROR = 7400201
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraErrorCode
Method or attribute name: SERVICE_FATAL_ERROR = 7400201
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: getSupportedCameras(): Array;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: getSupportedOutputCapability(camera: CameraDevice): CameraOutputCapability;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: createCameraInput(camera: CameraDevice): CameraInput;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: createCameraInput(position: CameraPosition, type: CameraType): CameraInput;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: createPreviewOutput(profile: Profile, surfaceId: string): PreviewOutput;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: createPhotoOutput(profile: Profile, surfaceId: string): PhotoOutput;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: createVideoOutput(profile: VideoProfile, surfaceId: string): VideoOutput;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: createMetadataOutput(metadataObjectTypes: Array): MetadataOutput;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraManager
Method or attribute name: createCaptureSession(): CaptureSession;
@ohos.multimedia.camera.d.ts
Added NA Class name: CameraType
Method or attribute name: CAMERA_TYPE_DEFAULT = 0
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: beginConfig(): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: addInput(cameraInput: CameraInput): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: removeInput(cameraInput: CameraInput): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: addOutput(cameraOutput: CameraOutput): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: removeOutput(cameraOutput: CameraOutput): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: hasFlash(): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: isFlashModeSupported(flashMode: FlashMode): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getFlashMode(): FlashMode;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setFlashMode(flashMode: FlashMode): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: isExposureModeSupported(aeMode: ExposureMode): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getExposureMode(): ExposureMode;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setExposureMode(aeMode: ExposureMode): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getMeteringPoint(): Point;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setMeteringPoint(point: Point): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getExposureBiasRange(): Array;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setExposureBias(exposureBias: number): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getExposureValue(): number;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: isFocusModeSupported(afMode: FocusMode): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getFocusMode(): FocusMode;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setFocusMode(afMode: FocusMode): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setFocusPoint(point: Point): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getFocusPoint(): Point;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getFocalLength(): number;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getZoomRatioRange(): Array;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getZoomRatio(): number;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setZoomRatio(zoomRatio: number): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: isVideoStabilizationModeSupported(vsMode: VideoStabilizationMode): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: getActiveVideoStabilizationMode(): VideoStabilizationMode;
@ohos.multimedia.camera.d.ts
Added NA Class name: CaptureSession
Method or attribute name: setVideoStabilizationMode(mode: VideoStabilizationMode): void;
@ohos.multimedia.camera.d.ts
Added NA Class name: PhotoOutput
Method or attribute name: isMirrorSupported(): boolean;
@ohos.multimedia.camera.d.ts
Added NA Class name: MetadataObject
Method or attribute name: readonly type: MetadataObjectType;
@ohos.multimedia.camera.d.ts
Added NA Class name: MetadataObject
Method or attribute name: readonly timestamp: number;
@ohos.multimedia.camera.d.ts
Added NA Class name: MetadataObject
Method or attribute name: readonly boundingBox: Rect;
@ohos.multimedia.camera.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayerState
Method or attribute name: type AVPlayerState = ‘idle’ |‘initialized’ |‘prepared’ |‘playing’ |‘paused’ |‘completed’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderState
Method or attribute name: type AVRecorderState = ‘idle’ |‘prepared’ |‘started’ |‘paused’ |‘stopped’ |‘released’ |‘error’;
@ohos.multimedia.media.d.ts
Added NA Class name: media
Method or attribute name: function createAVPlayer(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: media
Method or attribute name: function createAVPlayer() : Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: media
Method or attribute name: function createAVRecorder(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: media
Method or attribute name: function createAVRecorder() : Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: StateChangeReason
@ohos.multimedia.media.d.ts
Added NA Class name: StateChangeReason
Method or attribute name:
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: StateChangeReason
Method or attribute name: USER = 1
@ohos.multimedia.media.d.ts
Added NA Class name: StateChangeReason
Method or attribute name: USER = 1
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: StateChangeReason
Method or attribute name: BACKGROUND = 2
@ohos.multimedia.media.d.ts
Added NA Class name: StateChangeReason
Method or attribute name: BACKGROUND = 2
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name:
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_OK = 0
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_OK = 0
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_NO_PERMISSION = 201
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_NO_PERMISSION = 201
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_INVALID_PARAMETER = 401
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_INVALID_PARAMETER = 401
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_CAPABILITY = 801
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_CAPABILITY = 801
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_NO_MEMORY = 5400101
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_NO_MEMORY = 5400101
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_OPERATE_NOT_PERMIT = 5400102
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_OPERATE_NOT_PERMIT = 5400102
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_IO = 5400103
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_IO = 5400103
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_TIMEOUT = 5400104
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_TIMEOUT = 5400104
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_SERVICE_DIED = 5400105
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_SERVICE_DIED = 5400105
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_FORMAT = 5400106
@ohos.multimedia.media.d.ts
Added NA Class name: AVErrorCode
Method or attribute name: AVERR_UNSUPPORT_FORMAT = 5400106
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name:
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: prepare(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: prepare(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: play(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: play(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: play(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: play(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: pause(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: pause(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: pause(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: pause(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: stop(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: stop(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: stop(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: stop(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: reset(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: reset(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: reset(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: reset(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: release(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: release(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: release(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: release(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: setVolume(volume: number): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: setVolume(volume: number): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: getTrackDescription() : Promise>;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: getTrackDescription() : Promise>;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: url ?: string;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: url ?: string;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: fdSrc ?: AVFileDescriptor;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: fdSrc ?: AVFileDescriptor;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: loop: boolean;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: loop: boolean;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly currentTime: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: readonly currentTime: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly duration: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: readonly duration: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly state: AVPlayerState;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: readonly state: AVPlayerState;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: surfaceId ?: string;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: surfaceId ?: string;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly width: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: readonly width: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: readonly height: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: readonly height: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: setSpeed(speed: PlaybackSpeed): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: setSpeed(speed: PlaybackSpeed): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: setBitrate(bitrate: number): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: setBitrate(bitrate: number): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘stateChange’, callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘stateChange’, callback: (state: AVPlayerState, reason: StateChangeReason) => void): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘stateChange’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘stateChange’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘volumeChange’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘volumeChange’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘volumeChange’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘volumeChange’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘endOfStream’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘endOfStream’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘endOfStream’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘endOfStream’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘seekDone’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘seekDone’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘seekDone’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘seekDone’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘speedDone’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘speedDone’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘speedDone’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘speedDone’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘bitrateDone’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘bitrateDone’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘bitrateDone’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘bitrateDone’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘timeUpdate’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘timeUpdate’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘timeUpdate’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘timeUpdate’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘durationUpdate’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘durationUpdate’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘durationUpdate’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘durationUpdate’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘bufferingUpdate’, callback: (infoType: BufferingInfoType, value: number) => void): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘bufferingUpdate’, callback: (infoType: BufferingInfoType, value: number) => void): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘bufferingUpdate’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘bufferingUpdate’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘startRenderFrame’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘startRenderFrame’, callback: Callback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘startRenderFrame’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘startRenderFrame’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘videoSizeChange’, callback: (width: number, height: number) => void): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘videoSizeChange’, callback: (width: number, height: number) => void): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘videoSizeChange’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘videoSizeChange’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘audioInterrupt’, callback: (info: audio.InterruptEvent) => void): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘audioInterrupt’, callback: (info: audio.InterruptEvent) => void): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘audioInterrupt’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘audioInterrupt’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘availableBitrates’, callback: (bitrates: Array) => void): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘availableBitrates’, callback: (bitrates: Array) => void): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘availableBitrates’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘availableBitrates’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVPlayer
Method or attribute name: off(type: ‘error’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVPlayer
Method or attribute name: off(type: ‘error’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name:
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig, callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig, callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: prepare(config: AVRecorderConfig): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: getInputSurface(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: getInputSurface(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: getInputSurface(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: getInputSurface(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: start(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: start(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: start(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: start(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: pause(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: pause(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: pause(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: pause(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: resume(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: resume(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: resume(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: resume(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: stop(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: stop(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: stop(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: stop(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: reset(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: reset(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: reset(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: reset(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: release(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: release(callback: AsyncCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: release(): Promise;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: release(): Promise;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: readonly state: AVRecorderState;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: readonly state: AVRecorderState;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: on(type: ‘stateChange’, callback: (state: AVRecorderState, reason: StateChangeReason) => void): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: on(type: ‘stateChange’, callback: (state: AVRecorderState, reason: StateChangeReason) => void): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: off(type: ‘stateChange’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: off(type: ‘stateChange’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorder
Method or attribute name: off(type: ‘error’): void;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorder
Method or attribute name: off(type: ‘error’): void;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name:
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioBitrate?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: audioBitrate?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioChannels?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: audioChannels?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioCodec?: CodecMimeType;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: audioCodec?: CodecMimeType;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: audioSampleRate?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: audioSampleRate?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: fileFormat: ContainerFormatType;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: fileFormat: ContainerFormatType;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoBitrate?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: videoBitrate?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoCodec?: CodecMimeType;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: videoCodec?: CodecMimeType;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoFrameWidth?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: videoFrameWidth?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoFrameHeight?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: videoFrameHeight?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderProfile
Method or attribute name: videoFrameRate?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderProfile
Method or attribute name: videoFrameRate?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderConfig
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderConfig
Method or attribute name:
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: audioSourceType?: AudioSourceType;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderConfig
Method or attribute name: audioSourceType?: AudioSourceType;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: videoSourceType?: VideoSourceType;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderConfig
Method or attribute name: videoSourceType?: VideoSourceType;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: profile: AVRecorderProfile;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderConfig
Method or attribute name: profile: AVRecorderProfile;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: url: string;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderConfig
Method or attribute name: url: string;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: rotation?: number;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderConfig
Method or attribute name: rotation?: number;
@ohos.multimedia.media.d.ts
Added NA Module name: ohos.multimedia.media
Class name: AVRecorderConfig
Method or attribute name: location?: Location;
@ohos.multimedia.media.d.ts
Added NA Class name: AVRecorderConfig
Method or attribute name: location?: Location;
@ohos.multimedia.media.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraType
Method or attribute name: CAMERA_TYPE_UNSPECIFIED = 0
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: release(callback: AsyncCallback): void;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInput
Method or attribute name: release(): Promise;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_NO_PERMISSION = 0
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_PREEMPTED = 1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_DISCONNECTED = 2
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DEVICE_IN_USE = 3
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR = 4
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputError
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CameraInputError
Method or attribute name: code: CameraInputErrorCode;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_UNKNOWN = -1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 0
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CaptureSessionErrorCode
Method or attribute name: ERROR_TIMEOUT = 1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CaptureSessionError
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: CaptureSessionError
Method or attribute name: code: CaptureSessionErrorCode;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PreviewOutputErrorCode
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PreviewOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PreviewOutputError
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PreviewOutputError
Method or attribute name: code: PreviewOutputErrorCode;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR = 0
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PhotoOutputErrorCode
Method or attribute name: ERROR_TIMEOUT = 2
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PhotoOutputError
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: PhotoOutputError
Method or attribute name: code: PhotoOutputErrorCode;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: VideoOutputErrorCode
Method or attribute name: ERROR_DRIVER_ERROR = 0
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: VideoOutputError
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: VideoOutputError
Method or attribute name: code: VideoOutputErrorCode;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType(callback: AsyncCallback): void;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getType(): Promise;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp(callback: AsyncCallback): void;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getTimestamp(): Promise;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox(callback: AsyncCallback): void;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataObject
Method or attribute name: getBoundingBox(): Promise;
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataFaceObject
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_UNKNOWN = -1
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataOutputErrorCode
Method or attribute name: ERROR_INSUFFICIENT_RESOURCES = 0
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataOutputError
NA @ohos.multimedia.camera.d.ts
Deleted Module name: ohos.multimedia.camera
Class name: MetadataOutputError
Method or attribute name: code: MetadataOutputErrorCode;
NA @ohos.multimedia.camera.d.ts
Access level changed Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: public API
Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: public API
Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system 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): void;
Access level: public API
Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback): void;
Access level: system 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;
Access level: public API
Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession
Method or attribute name: function on(type: ‘sessionServiceDie’, callback: () => void): void;
Access level: public API
Class name: avSession
Method or attribute name: function on(type: ‘sessionServiceDie’, callback: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Access level: public API
Class name: AVSession
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: public API
Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘seek’, callback: (time: number) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘setSpeed’, callback: (speed: number) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘setLoopMode’, callback: (mode: LoopMode) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘toggleFavorite’, callback: (assetId: string) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘handleKeyEvent’, callback: (event: KeyEvent) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Access level: public API
Class name: AVMetadata
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Access level: public API
Class name: AVPlaybackState
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackPosition
Access level: public API
Class name: PlaybackPosition
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: OutputDeviceInfo
Access level: public API
Class name: OutputDeviceInfo
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode
Access level: public API
Class name: LoopMode
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Access level: public API
Class name: PlaybackState
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Access level: public API
Class name: AVSessionController
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: public API
Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: public API
Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: public API
Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘metadataChange’, filter: Array |‘all’, callback: (data: AVMetadata) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘metadataChange’, filter: Array |‘all’, callback: (data: AVMetadata) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘playbackStateChange’, filter: Array |‘all’, callback: (state: AVPlaybackState) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘playbackStateChange’, filter: Array |‘all’, callback: (state: AVPlaybackState) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘sessionDestroy’, callback: () => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘sessionDestroy’, callback: () => void);
Access level: system 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: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘activeStateChange’, callback: (isActive: boolean) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘validCommandChange’, callback: (commands: Array) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘validCommandChange’, callback: (commands: Array) => void);
Access level: system 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: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommand
Access level: public API
Class name: AVControlCommand
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Access level: public API
Class name: AVSessionErrorCode
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: camera
Access level: public API
Class name: camera
Access level: system API
@ohos.multimedia.camera.d.ts
Access level changed Class name: AudioSourceType
Access level: system API
Class name: AudioSourceType
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: system API
Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: system API
Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: VideoSourceType
Access level: system API
Class name: VideoSourceType
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: system API
Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: system API
Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: public API
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: AudioState
Method or attribute name: type AudioState = ‘idle’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: N/A
Class name: VideoPlayState
Method or attribute name: type VideoPlayState = ‘idle’ |‘prepared’ |‘playing’ |‘paused’ |‘stopped’ |‘error’;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayerState
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: media
Method or attribute name: function createAudioPlayer(): AudioPlayer;
Deprecated version: N/A
Class name: media
Method or attribute name: function createAudioPlayer(): AudioPlayer;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: media
Method or attribute name: function createAudioRecorder(): AudioRecorder;
Deprecated version: N/A
Class name: media
Method or attribute name: function createAudioRecorder(): AudioRecorder;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: media
Method or attribute name: function createVideoPlayer(callback: AsyncCallback): void;
Deprecated version: N/A
Class name: media
Method or attribute name: function createVideoPlayer(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: media
Method or attribute name: function createVideoPlayer() : Promise;
Deprecated version: N/A
Class name: media
Method or attribute name: function createVideoPlayer() : Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Deprecated version: N/A
Class name: AudioPlayer
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: play(): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: play(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: pause(): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: pause(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: stop(): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: stop(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: reset(): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: reset(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: seek(timeMs: number): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: seek(timeMs: number): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: setVolume(vol: number): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: setVolume(vol: number): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: release(): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: release(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘bufferingUpdate’, callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘bufferingUpdate’, callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: src: string;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: src: string;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: loop: boolean;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: loop: boolean;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: readonly duration: number;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: readonly duration: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: readonly state: AudioState;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: readonly state: AudioState;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘reset’ |‘dataLoad’ |‘finish’ |‘volumeChange’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘timeUpdate’, callback: Callback): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘timeUpdate’, callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘audioInterrupt’, callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘audioInterrupt’, callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioPlayer
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Deprecated version: N/A
Class name: AudioPlayer
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Deprecated version: N/A
Class name: AudioRecorderConfig
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorderConfig
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Method or attribute name: audioEncodeBitRate?: number;
Deprecated version: N/A
Class name: AudioRecorderConfig
Method or attribute name: audioEncodeBitRate?: number;
Deprecated version: 9
Substitute API: N/A
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Method or attribute name: audioSampleRate?: number;
Deprecated version: N/A
Class name: AudioRecorderConfig
Method or attribute name: audioSampleRate?: number;
Deprecated version: 9
Substitute API: N/A
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Method or attribute name: numberOfChannels?: number;
Deprecated version: N/A
Class name: AudioRecorderConfig
Method or attribute name: numberOfChannels?: number;
Deprecated version: 9
Substitute API: N/A
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Method or attribute name: uri: string;
Deprecated version: N/A
Class name: AudioRecorderConfig
Method or attribute name: uri: string;
Deprecated version: 9
Substitute API: N/A
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Method or attribute name: location?: Location;
Deprecated version: N/A
Class name: AudioRecorderConfig
Method or attribute name: location?: Location;
Deprecated version: 9
Substitute API: N/A
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Method or attribute name: audioEncoderMime?: CodecMimeType;
Deprecated version: N/A
Class name: AudioRecorderConfig
Method or attribute name: audioEncoderMime?: CodecMimeType;
Deprecated version: 9
Substitute API: N/A
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorderConfig
Method or attribute name: fileFormat?: ContainerFormatType;
Deprecated version: N/A
Class name: AudioRecorderConfig
Method or attribute name: fileFormat?: ContainerFormatType;
Deprecated version: 9
Substitute API: N/A
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Deprecated version: N/A
Class name: AudioRecorder
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: prepare(config: AudioRecorderConfig): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: prepare(config: AudioRecorderConfig): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: start(): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: start(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: pause(): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: pause(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: resume(): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: resume(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: stop(): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: stop(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: release(): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: release(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: reset(): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: reset(): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘prepare’ |‘start’ |‘pause’ |‘resume’ |‘stop’ |‘release’ |‘reset’, callback: () => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: AudioRecorder
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Deprecated version: N/A
Class name: AudioRecorder
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVRecorder
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Deprecated version: N/A
Class name: VideoPlayer
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: setDisplaySurface(surfaceId: string): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: prepare(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: prepare(): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: prepare(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: play(callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: play(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: play(): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: play(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: pause(callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: pause(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: pause(): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: pause(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: stop(callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: stop(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: stop(): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: stop(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: reset(callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: reset(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: reset(): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: reset(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode:SeekMode, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode:SeekMode, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: seek(timeMs: number, mode?:SeekMode): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: setVolume(vol: number, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: setVolume(vol: number, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: setVolume(vol: number): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: setVolume(vol: number): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: release(callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: release(callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: release(): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: release(): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: getTrackDescription(callback: AsyncCallback>): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: getTrackDescription() : Promise>;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: url: string;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: url: string;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: fdSrc: AVFileDescriptor;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: loop: boolean;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: loop: boolean;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: readonly currentTime: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: readonly duration: number;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: readonly duration: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: readonly state: VideoPlayState;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: readonly state: VideoPlayState;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: readonly width: number;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: readonly width: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: readonly height: number;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: readonly height: number;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: audioInterruptMode ?: audio.InterruptMode;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: videoScaleType ?: VideoScaleType;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number, callback: AsyncCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number, callback: AsyncCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number): Promise;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: setSpeed(speed:number): Promise;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: on(type: ‘playbackCompleted’, callback: Callback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: on(type: ‘playbackCompleted’, callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: on(type: ‘bufferingUpdate’, callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: on(type: ‘bufferingUpdate’, callback: (infoType: BufferingInfoType, value: number) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: on(type: ‘startRenderFrame’, callback: Callback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: on(type: ‘startRenderFrame’, callback: Callback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: on(type: ‘videoSizeChanged’, callback: (width: number, height: number) => void): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: on(type: ‘videoSizeChanged’, callback: (width: number, height: number) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: on(type: ‘audioInterrupt’, callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: on(type: ‘audioInterrupt’, callback: (info: audio.InterruptEvent) => void): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Deprecated version changed Class name: VideoPlayer
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Deprecated version: N/A
Class name: VideoPlayer
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Deprecated version: 9
Substitute API: ohos.multimedia.media/media.AVPlayer
@ohos.multimedia.media.d.ts
Initial version changed Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Initial version: N/A
Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Initial version changed Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Initial version: N/A
Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Initial version: 9
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: public API
Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: public API
Class name: AVSessionType
Method or attribute name: type AVSessionType = ‘audio’ |‘video’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: public API
Class name: AVControlCommandType
Method or attribute name: type AVControlCommandType = ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’ |
‘seek’ |‘setSpeed’ |‘setLoopMode’ |‘toggleFavorite’;
Access level: system 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): void;
Access level: public API
Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback): void;
Access level: system 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;
Access level: public API
Class name: avSession
Method or attribute name: function createAVSession(context: Context, tag: string, type: AVSessionType): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: avSession
Method or attribute name: function on(type: ‘sessionServiceDie’, callback: () => void): void;
Access level: public API
Class name: avSession
Method or attribute name: function on(type: ‘sessionServiceDie’, callback: () => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Access level: public API
Class name: AVSession
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: public API
Class name: AVSession
Method or attribute name: readonly sessionId: string;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: setAVMetadata(data: AVMetadata): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: setAVPlaybackState(state: AVPlaybackState): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: setLaunchAbility(ability: WantAgent): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: getController(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: getController(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: getOutputDevice(): Promise;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘play’ |‘pause’ |‘stop’ |‘playNext’ |‘playPrevious’ |‘fastForward’ |‘rewind’, callback: () => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘seek’, callback: (time: number) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘setSpeed’, callback: (speed: number) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘setLoopMode’, callback: (mode: LoopMode) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘toggleFavorite’, callback: (assetId: string) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘handleKeyEvent’, callback: (event: KeyEvent) => void): void;
Access level: system 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: public API
Class name: AVSession
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: activate(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: activate(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: deactivate(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: deactivate(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API
Class name: AVSession
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: public API
Class name: AVSession
Method or attribute name: destroy(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVMetadata
Access level: public API
Class name: AVMetadata
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVPlaybackState
Access level: public API
Class name: AVPlaybackState
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackPosition
Access level: public API
Class name: PlaybackPosition
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: OutputDeviceInfo
Access level: public API
Class name: OutputDeviceInfo
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: LoopMode
Access level: public API
Class name: LoopMode
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: PlaybackState
Access level: public API
Class name: PlaybackState
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Access level: public API
Class name: AVSessionController
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: public API
Class name: AVSessionController
Method or attribute name: readonly sessionId: string;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVPlaybackState(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVPlaybackState(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVMetadata(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getAVMetadata(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getOutputDevice(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getOutputDevice(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendAVKeyEvent(event: KeyEvent): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getLaunchAbility(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: getLaunchAbility(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: public API
Class name: AVSessionController
Method or attribute name: getRealPlaybackPositionSync(): number;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: isActive(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: isActive(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: destroy(callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: destroy(): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: getValidCommands(callback: AsyncCallback>): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: public API
Class name: AVSessionController
Method or attribute name: getValidCommands(): Promise>;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand, callback: AsyncCallback): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: public API
Class name: AVSessionController
Method or attribute name: sendControlCommand(command: AVControlCommand): Promise;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘metadataChange’, filter: Array |‘all’, callback: (data: AVMetadata) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘metadataChange’, filter: Array |‘all’, callback: (data: AVMetadata) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘playbackStateChange’, filter: Array |‘all’, callback: (state: AVPlaybackState) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘playbackStateChange’, filter: Array |‘all’, callback: (state: AVPlaybackState) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘sessionDestroy’, callback: () => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘sessionDestroy’, callback: () => void);
Access level: system 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: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘activeStateChange’, callback: (isActive: boolean) => void);
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionController
Method or attribute name: on(type: ‘validCommandChange’, callback: (commands: Array) => void);
Access level: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘validCommandChange’, callback: (commands: Array) => void);
Access level: system 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: public API
Class name: AVSessionController
Method or attribute name: on(type: ‘outputDeviceChange’, callback: (device: OutputDeviceInfo) => void): void;
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVControlCommand
Access level: public API
Class name: AVControlCommand
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: AVSessionErrorCode
Access level: public API
Class name: AVSessionErrorCode
Access level: system API
@ohos.multimedia.avsession.d.ts
Access level changed Class name: camera
Access level: public API
Class name: camera
Access level: system API
@ohos.multimedia.camera.d.ts
Access level changed Class name: AudioSourceType
Access level: system API
Class name: AudioSourceType
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: system API
Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_DEFAULT = 0
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: system API
Class name: AudioSourceType
Method or attribute name: AUDIO_SOURCE_TYPE_MIC = 1
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: VideoSourceType
Access level: system API
Class name: VideoSourceType
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: system API
Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_YUV = 0
Access level: public API
@ohos.multimedia.media.d.ts
Access level changed Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: system API
Class name: VideoSourceType
Method or attribute name: VIDEO_SOURCE_TYPE_SURFACE_ES = 1
Access level: public API
@ohos.multimedia.media.d.ts
Function changed Class name: CameraInput
Method or attribute name: on(type: ‘error’, camera: CameraDevice, callback: ErrorCallback): void;
Class name: CameraInput
Method or attribute name: on(type: ‘error’, camera: CameraDevice, callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: CaptureSession
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Class name: CaptureSession
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: PreviewOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Class name: PreviewOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: PhotoOutput
Method or attribute name: capture(setting?: PhotoCaptureSetting): Promise;
Class name: PhotoOutput
Method or attribute name: capture(): Promise;
@ohos.multimedia.camera.d.ts
Function changed Class name: PhotoOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Class name: PhotoOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: VideoOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Class name: VideoOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts
Function changed Class name: MetadataOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
Class name: MetadataOutput
Method or attribute name: on(type: ‘error’, callback: ErrorCallback): void;
@ohos.multimedia.camera.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

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-distributed-data

0  赞