harmony 鸿蒙js-apidiff-multimedia

  • 2023-02-17
  • 浏览 (353)

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

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API差异报告

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  赞