| 操作 | 旧版本 | 新版本 | d.ts文件 |
| ---- | ------ | ------ | -------- |
|删除|类名:AudioRenderer;
方法or属性:on(type: "markReach", frame: number, callback: (position: number) => {}): void;|NA|@ohos.multimedia.audio.d.ts|
|删除|类名:AudioCapturer;
方法or属性:on(type: "markReach", frame: number, callback: (position: number) => {}): void;|NA|@ohos.multimedia.audio.d.ts|
|删除|类名:AudioRenderer;
方法or属性:on(type: "periodReach", frame: number, callback: (position: number) => {}): void;|NA|@ohos.multimedia.audio.d.ts|
|删除|类名:AudioCapturer;
方法or属性:on(type: "periodReach", frame: number, callback: (position: number) => {}): void;|NA|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:CommunicationDeviceType;
方法or属性:SPEAKER = 2|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:setVolume(volumeType: AudioVolumeType, volume: number, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:setVolume(volumeType: AudioVolumeType, volume: number): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getVolume(volumeType: AudioVolumeType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getVolume(volumeType: AudioVolumeType): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getMinVolume(volumeType: AudioVolumeType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getMinVolume(volumeType: AudioVolumeType): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getMaxVolume(volumeType: AudioVolumeType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getMaxVolume(volumeType: AudioVolumeType): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:getDevices(deviceFlag: DeviceFlag, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:getDevices(deviceFlag: DeviceFlag): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:mute(volumeType: AudioVolumeType, mute: boolean, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:mute(volumeType: AudioVolumeType, mute: boolean): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:isMute(volumeType: AudioVolumeType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:isMute(volumeType: AudioVolumeType): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:isActive(volumeType: AudioVolumeType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:isActive(volumeType: AudioVolumeType): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:setMicrophoneMute(mute: boolean, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:setMicrophoneMute(mute: boolean): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:isMicrophoneMute(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:isMicrophoneMute(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:setRingerMode(mode: AudioRingMode, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:setRingerMode(mode: AudioRingMode): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getRingerMode(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:getRingerMode(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:on(type: 'ringerModeChange', callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:off(type: 'deviceChange', callback?: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:getTrackDescription(callback: AsyncCallback\>): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:getTrackDescription() : Promise\>;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:on(type: 'bufferingUpdate', callback: (infoType: BufferingInfoType, value: number) => void): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:on(type: 'timeUpdate', callback: Callback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法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|类名:VideoRecorder;
方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:loop: boolean;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:readonly currentTime: number;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:readonly duration: number;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorderProfile;
方法or属性:audioSampleRate?: number;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorderConfig;
方法or属性:location?: Location;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorderConfig;
方法or属性:location?: Location;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:prepare(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:prepare(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:play(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:play(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:pause(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:pause(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:pause(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:pause(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:pause(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:pause(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:stop(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:stop(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:stop(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:reset(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:reset(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:reset(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:reset(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:reset(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:reset(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:release(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorder;
方法or属性:release(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorder;
方法or属性:release(): Promise\;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:VideoRecorderConfig;
方法or属性:url: string;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVRecorderConfig;
方法or属性:url: string;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:readonly width: number;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:readonly height: number;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:AVPlayer;
方法or属性:on(type: 'startRenderFrame', callback: Callback\): void;|@ohos.multimedia.media.d.ts|
|新增|NA|类名:effectKit;
方法or属性:function createEffect(source: image.PixelMap): Filter;|@ohos.effectKit.d.ts|
|新增|NA|类名:effectKit;
方法or属性:function createColorPicker(source: image.PixelMap): Promise\;|@ohos.effectKit.d.ts|
|新增|NA|类名:effectKit;
方法or属性:function createColorPicker(source: image.PixelMap, callback: AsyncCallback\): void;|@ohos.effectKit.d.ts|
|新增|NA|类名:Filter;
方法or属性:blur(radius:number): Filter;|@ohos.effectKit.d.ts|
|新增|NA|类名:Filter;
方法or属性:brightness(bright:number): Filter;|@ohos.effectKit.d.ts|
|新增|NA|类名:Filter;
方法or属性:grayscale(): Filter;|@ohos.effectKit.d.ts|
|新增|NA|类名:Filter;
方法or属性:getPixelMap(): image.PixelMap;|@ohos.effectKit.d.ts|
|新增|NA|类名:ColorPicker;
方法or属性:getMainColor(): Promise\;|@ohos.effectKit.d.ts|
|新增|NA|类名:ColorPicker;
方法or属性:getMainColorSync(): Color;|@ohos.effectKit.d.ts|
|新增|NA|类名:Color;
方法or属性:red: number;|@ohos.effectKit.d.ts|
|新增|NA|类名:Color;
方法or属性:green: number;|@ohos.effectKit.d.ts|
|新增|NA|类名:Color;
方法or属性:blue: number;|@ohos.effectKit.d.ts|
|新增|NA|类名:Color;
方法or属性:alpha: number;|@ohos.effectKit.d.ts|
|新增|NA|类名:audio;
方法or属性:function createTonePlayer(options: AudioRendererInfo, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:audio;
方法or属性:function createTonePlayer(options: AudioRendererInfo): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:audio;
方法or属性:type VolumeGroupInfos = Array\>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:audio;
方法or属性:type AudioRendererChangeInfoArray = Array\>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:audio;
方法or属性:type AudioCapturerChangeInfoArray = Array\>;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioErrors;
方法or属性:ERROR_INVALID_PARAM = 6800101|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioErrors;
方法or属性:ERROR_NO_MEMORY = 6800102|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioErrors;
方法or属性:ERROR_ILLEGAL_STATE = 6800103|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioErrors;
方法or属性:ERROR_UNSUPPORTED = 6800104|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioErrors;
方法or属性:ERROR_TIMEOUT = 6800105|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioErrors;
方法or属性:ERROR_STREAM_LIMIT = 6800201|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioErrors;
方法or属性:ERROR_SYSTEM = 6800301|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeType;
方法or属性:ALL = 100|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:DeviceFlag;
方法or属性:NONE_DEVICES_FLAG = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:DeviceFlag;
方法or属性:DISTRIBUTED_OUTPUT_DEVICES_FLAG = 4|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:DeviceFlag;
方法or属性:DISTRIBUTED_INPUT_DEVICES_FLAG = 8|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:DeviceFlag;
方法or属性:ALL_DISTRIBUTED_DEVICES_FLAG = 12|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:DeviceType;
方法or属性:DEFAULT = 1000|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioSampleFormat;
方法or属性:SAMPLE_FORMAT_F32LE = 4|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:StreamUsage;
方法or属性:STREAM_USAGE_VOICE_ASSISTANT = 3|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptRequestType;
方法or属性:INTERRUPT_REQUEST_TYPE_DEFAULT = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererFilter;
方法or属性:uid: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererFilter;
方法or属性:rendererInfo?: AudioRendererInfo;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererFilter;
方法or属性:rendererId?: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptMode;
方法or属性:SHARE_MODE = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptMode;
方法or属性:INDEPENDENT_MODE = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptForceType;
方法or属性:INTERRUPT_FORCE = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptForceType;
方法or属性:INTERRUPT_SHARE = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptEvent;
方法or属性:eventType: InterruptType;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptEvent;
方法or属性:forceType: InterruptForceType;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptEvent;
方法or属性:hintType: InterruptHint;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioManager;
方法or属性:getVolumeManager(): AudioVolumeManager;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioManager;
方法or属性:getStreamManager(): AudioStreamManager;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioManager;
方法or属性:getRoutingManager(): AudioRoutingManager;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptRequestResultType;
方法or属性:INTERRUPT_REQUEST_GRANT = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptRequestResultType;
方法or属性:INTERRUPT_REQUEST_REJECT = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptResult;
方法or属性:requestResult: InterruptRequestResultType;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:InterruptResult;
方法or属性:interruptNode: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:on(type: 'deviceChange', deviceFlag: DeviceFlag, callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:setCommunicationDevice(deviceType: CommunicationDeviceType, active: boolean, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:setCommunicationDevice(deviceType: CommunicationDeviceType, active: boolean): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:isCommunicationDeviceActive(deviceType: CommunicationDeviceType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:isCommunicationDeviceActive(deviceType: CommunicationDeviceType): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:selectOutputDevice(outputAudioDevices: AudioDeviceDescriptors, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:selectOutputDevice(outputAudioDevices: AudioDeviceDescriptors): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:selectOutputDeviceByFilter(filter: AudioRendererFilter, outputAudioDevices: AudioDeviceDescriptors, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:selectOutputDeviceByFilter(filter: AudioRendererFilter, outputAudioDevices: AudioDeviceDescriptors): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:selectInputDevice(inputAudioDevices: AudioDeviceDescriptors, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRoutingManager;
方法or属性:selectInputDevice(inputAudioDevices: AudioDeviceDescriptors): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:getCurrentAudioRendererInfoArray(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:getCurrentAudioRendererInfoArray(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:getCurrentAudioCapturerInfoArray(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:getCurrentAudioCapturerInfoArray(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:on(type: "audioRendererChange", callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:on(type: "audioCapturerChange", callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:off(type: "audioRendererChange"): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioStreamManager;
方法or属性:off(type: "audioCapturerChange"): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeManager;
方法or属性:getVolumeGroupInfos(networkId: string, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeManager;
方法or属性:getVolumeGroupInfos(networkId: string): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeManager;
方法or属性:getVolumeGroupManager(groupId: number, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeManager;
方法or属性:getVolumeGroupManager(groupId: number): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeManager;
方法or属性:on(type: 'volumeChange', callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioVolumeGroupManager;
方法or属性:on(type: 'micStateChange', callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ConnectType;
方法or属性:CONNECT_TYPE_LOCAL = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ConnectType;
方法or属性:CONNECT_TYPE_DISTRIBUTED = 2|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeGroupInfo;
方法or属性:readonly networkId: string;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly networkId: string;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeGroupInfo;
方法or属性:readonly groupId: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeGroupInfo;
方法or属性:readonly mappingId: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeGroupInfo;
方法or属性:readonly groupName: string;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeGroupInfo;
方法or属性:readonly type: ConnectType;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererChangeInfo;
方法or属性:readonly streamId: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturerChangeInfo;
方法or属性:readonly streamId: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererChangeInfo;
方法or属性:readonly clientUid: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturerChangeInfo;
方法or属性:readonly clientUid: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererChangeInfo;
方法or属性:readonly rendererInfo: AudioRendererInfo;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererChangeInfo;
方法or属性:readonly rendererState: AudioState;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRendererChangeInfo;
方法or属性:readonly deviceDescriptors: AudioDeviceDescriptors;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturerChangeInfo;
方法or属性:readonly deviceDescriptors: AudioDeviceDescriptors;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturerChangeInfo;
方法or属性:readonly capturerInfo: AudioCapturerInfo;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturerChangeInfo;
方法or属性:readonly capturerState: AudioState;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly id: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly name: string;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly address: string;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly sampleRates: Array\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly channelCounts: Array\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly channelMasks: Array\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly interruptGroupId: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioDeviceDescriptor;
方法or属性:readonly volumeGroupId: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeEvent;
方法or属性:volumeGroupId: number;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:VolumeEvent;
方法or属性:networkId: string;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:MicStateChangeEvent;
方法or属性:mute: boolean;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:getAudioStreamId(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturer;
方法or属性:getAudioStreamId(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:getAudioStreamId(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturer;
方法or属性:getAudioStreamId(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:setInterruptMode(mode: InterruptMode, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:setInterruptMode(mode: InterruptMode): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:setVolume(volume: number, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:setVolume(volume: number): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:on(type: 'audioInterrupt', callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:on(type: "markReach", frame: number, callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturer;
方法or属性:on(type: "markReach", frame: number, callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioRenderer;
方法or属性:on(type: "periodReach", frame: number, callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:AudioCapturer;
方法or属性:on(type: "periodReach", frame: number, callback: Callback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:SourceType;
方法or属性:SOURCE_TYPE_VOICE_RECOGNITION = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_0 = 0|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_1 = 1|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_2 = 2|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_3 = 3|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_4 = 4|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_5 = 5|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_6 = 6|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_7 = 7|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_8 = 8|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_9 = 9|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_S = 10|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_P = 11|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_A = 12|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_B = 13|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_C = 14|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_DIAL_D = 15|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_SUPERVISORY_DIAL = 100|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_SUPERVISORY_BUSY = 101|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CONGESTION = 102|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_ACK = 103|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RADIO_NOT_AVAILABLE = 104|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_SUPERVISORY_CALL_WAITING = 106|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_SUPERVISORY_RINGTONE = 107|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_PROPRIETARY_BEEP = 200|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_PROPRIETARY_ACK = 201|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_PROPRIETARY_PROMPT = 203|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:ToneType;
方法or属性:TONE_TYPE_COMMON_PROPRIETARY_DOUBLE_BEEP = 204|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:load(type: ToneType, callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:load(type: ToneType): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:start(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:start(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:stop(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:TonePlayer;
方法or属性:release(): Promise\;|@ohos.multimedia.audio.d.ts|
|新增|NA|类名:avSession;
方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function getAllSessionDescriptors(callback: AsyncCallback\>>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function getAllSessionDescriptors(): Promise\>>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function createController(sessionId: string, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function createController(sessionId: string): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function castAudio(session: SessionToken \| 'all', audioDevices: Array\): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function on(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function on(type: 'sessionServiceDie', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function off(type: 'sessionCreate' \| 'sessionDestroy' \| 'topSessionChange', callback?: (session: AVSessionDescriptor) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function off(type: 'sessionServiceDie', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function sendSystemAVKeyEvent(event: KeyEvent, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function sendSystemAVKeyEvent(event: KeyEvent): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function sendSystemControlCommand(command: AVControlCommand, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:function sendSystemControlCommand(command: AVControlCommand): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:type AVSessionType = 'audio' \| 'video';|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:avSession;
方法or属性:type AVControlCommandType = 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind' \|
'seek' \| 'setSpeed' \| 'setLoopMode' \| 'toggleFavorite';|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:SessionToken;
方法or属性:sessionId: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionDescriptor;
方法or属性:sessionId: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:SessionToken;
方法or属性:pid: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:SessionToken;
方法or属性:uid: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:readonly sessionId: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:readonly sessionId: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:setAVMetadata(data: AVMetadata, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:setAVMetadata(data: AVMetadata): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:setAVPlaybackState(state: AVPlaybackState, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:setAVPlaybackState(state: AVPlaybackState): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:setLaunchAbility(ability: WantAgent, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:setLaunchAbility(ability: WantAgent): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:getController(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:getController(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:getOutputDevice(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getOutputDevice(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:getOutputDevice(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getOutputDevice(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:on(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:on(type: 'seek', callback: (time: number) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:on(type: 'setSpeed', callback: (speed: number) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:on(type: 'setLoopMode', callback: (mode: LoopMode) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:on(type: 'toggleFavorite', callback: (assetId: string) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:on(type: 'handleKeyEvent', callback: (event: KeyEvent) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:on(type: 'outputDeviceChange', callback: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:off(type: 'play' \| 'pause' \| 'stop' \| 'playNext' \| 'playPrevious' \| 'fastForward' \| 'rewind', callback?: () => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:off(type: 'seek', callback?: (time: number) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:off(type: 'setSpeed', callback?: (speed: number) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:off(type: 'setLoopMode', callback?: (mode: LoopMode) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:off(type: 'toggleFavorite', callback?: (assetId: string) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:off(type: 'handleKeyEvent', callback?: (event: KeyEvent) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:off(type: 'outputDeviceChange', callback?: (device: OutputDeviceInfo) => void): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:activate(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:activate(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:deactivate(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:deactivate(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:destroy(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:destroy(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSession;
方法or属性:destroy(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:destroy(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:assetId: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:title?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:artist?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:author?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:album?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:writer?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:composer?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:duration?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:mediaImage?: image.PixelMap \| string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:publishDate?: Date;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:subtitle?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:description?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:lyric?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:previousAssetId?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVMetadata;
方法or属性:nextAssetId?: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVPlaybackState;
方法or属性:state?: PlaybackState;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVPlaybackState;
方法or属性:speed?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVPlaybackState;
方法or属性:position?: PlaybackPosition;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVPlaybackState;
方法or属性:bufferedTime?: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVPlaybackState;
方法or属性:loopMode?: LoopMode;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVPlaybackState;
方法or属性:isFavorite?: boolean;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackPosition;
方法or属性:elapsedTime: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackPosition;
方法or属性:updateTime: number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:OutputDeviceInfo;
方法or属性:isRemote: boolean;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:OutputDeviceInfo;
方法or属性:audioDeviceId: Array\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:OutputDeviceInfo;
方法or属性:deviceName: Array\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:LoopMode;
方法or属性:LOOP_MODE_SEQUENCE = 0|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:LoopMode;
方法or属性:LOOP_MODE_SINGLE = 1|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:LoopMode;
方法or属性:LOOP_MODE_LIST = 2|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:LoopMode;
方法or属性:LOOP_MODE_SHUFFLE = 3|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;
方法or属性:PLAYBACK_STATE_INITIAL = 0|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;
方法or属性:PLAYBACK_STATE_PREPARE = 1|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;
方法or属性:PLAYBACK_STATE_PLAY = 2|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;
方法or属性:PLAYBACK_STATE_PAUSE = 3|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;
方法or属性:PLAYBACK_STATE_FAST_FORWARD = 4|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;
方法or属性:PLAYBACK_STATE_REWIND = 5|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:PlaybackState;
方法or属性:PLAYBACK_STATE_STOP = 6|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionDescriptor;
方法or属性:type: AVSessionType;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionDescriptor;
方法or属性:sessionTag: string;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionDescriptor;
方法or属性:elementName: ElementName;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionDescriptor;
方法or属性:isActive: boolean;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionDescriptor;
方法or属性:isTopSession: boolean;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionDescriptor;
方法or属性:outputDevice: OutputDeviceInfo;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getAVPlaybackState(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getAVPlaybackState(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getAVMetadata(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getAVMetadata(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:sendAVKeyEvent(event: KeyEvent, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:sendAVKeyEvent(event: KeyEvent): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getLaunchAbility(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getLaunchAbility(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getRealPlaybackPositionSync(): number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:isActive(callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:isActive(): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getValidCommands(callback: AsyncCallback\>): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:getValidCommands(): Promise\>;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:sendControlCommand(command: AVControlCommand, callback: AsyncCallback\): void;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:sendControlCommand(command: AVControlCommand): Promise\;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:on(type: 'metadataChange', filter: Array\ \| 'all', callback: (data: AVMetadata) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:on(type: 'playbackStateChange', filter: Array\ \| 'all', callback: (state: AVPlaybackState) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:on(type: 'sessionDestroy', callback: () => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:on(type: 'activeStateChange', callback: (isActive: boolean) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:on(type: 'validCommandChange', callback: (commands: Array\) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:off(type: 'metadataChange', callback?: (data: AVMetadata) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:off(type: 'playbackStateChange', callback?: (state: AVPlaybackState) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:off(type: 'sessionDestroy', callback?: () => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:off(type: 'activeStateChange', callback?: (isActive: boolean) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionController;
方法or属性:off(type: 'validCommandChange', callback?: (commands: Array\) => void);|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVControlCommand;
方法or属性:command: AVControlCommandType;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVControlCommand;
方法or属性:parameter?: LoopMode \| string \| number;|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;
方法or属性:ERR_CODE_SERVICE_EXCEPTION = 6600101|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;
方法or属性:ERR_CODE_SESSION_NOT_EXIST = 6600102|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;
方法or属性:ERR_CODE_CONTROLLER_NOT_EXIST = 6600103|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;
方法or属性:ERR_CODE_REMOTE_CONNECTION_ERR = 6600104|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;
方法or属性:ERR_CODE_COMMAND_INVALID = 6600105|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;
方法or属性:ERR_CODE_SESSION_INACTIVE = 6600106|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:AVSessionErrorCode;
方法or属性:ERR_CODE_MESSAGE_OVERLOAD = 6600107|@ohos.multimedia.avsession.d.ts|
|新增|NA|类名:camera;
方法or属性:function getCameraManager(context: Context): CameraManager;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraStatus;
方法or属性:CAMERA_STATUS_APPEAR = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraStatus;
方法or属性:CAMERA_STATUS_DISAPPEAR = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraStatus;
方法or属性:CAMERA_STATUS_AVAILABLE = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraStatus;
方法or属性:CAMERA_STATUS_UNAVAILABLE = 3|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Profile;
方法or属性:readonly format: CameraFormat;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Profile;
方法or属性:readonly size: Size;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FrameRateRange;
方法or属性:readonly min: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FrameRateRange;
方法or属性:readonly max: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoProfile;
方法or属性:readonly frameRateRange: FrameRateRange;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraOutputCapability;
方法or属性:readonly previewProfiles: Array\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraOutputCapability;
方法or属性:readonly photoProfiles: Array\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraOutputCapability;
方法or属性:readonly videoProfiles: Array\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraOutputCapability;
方法or属性:readonly supportedMetadataObjectTypes: Array\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:INVALID_ARGUMENT = 7400101|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:OPERATION_NOT_ALLOWED = 7400102|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:SESSION_NOT_CONFIG = 7400103|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:SESSION_NOT_RUNNING = 7400104|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:SESSION_CONFIG_LOCKED = 7400105|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:DEVICE_SETTING_LOCKED = 7400106|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:CONFILICT_CAMERA = 7400107|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraErrorCode;
方法or属性:DEVICE_DISABLED = 7400108|@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属性:isCameraMuted(): boolean;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraManager;
方法or属性:isCameraMuteSupported(): boolean;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraManager;
方法or属性:muteCamera(mute: boolean): void;|@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|类名:CameraManager;
方法or属性:on(type: 'cameraStatus', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraManager;
方法or属性:on(type: 'cameraMute', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraStatusInfo;
方法or属性:camera: CameraDevice;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraStatusInfo;
方法or属性:status: CameraStatus;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraPosition;
方法or属性:CAMERA_POSITION_UNSPECIFIED = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraPosition;
方法or属性:CAMERA_POSITION_BACK = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraPosition;
方法or属性:CAMERA_POSITION_FRONT = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraType;
方法or属性:CAMERA_TYPE_DEFAULT = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraType;
方法or属性:CAMERA_TYPE_WIDE_ANGLE = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraType;
方法or属性:CAMERA_TYPE_ULTRA_WIDE = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraType;
方法or属性:CAMERA_TYPE_TELEPHOTO = 3|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraType;
方法or属性:CAMERA_TYPE_TRUE_DEPTH = 4|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ConnectionType;
方法or属性:CAMERA_CONNECTION_BUILT_IN = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ConnectionType;
方法or属性:CAMERA_CONNECTION_USB_PLUGIN = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ConnectionType;
方法or属性:CAMERA_CONNECTION_REMOTE = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraDevice;
方法or属性:readonly cameraId: string;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraDevice;
方法or属性:readonly cameraPosition: CameraPosition;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraDevice;
方法or属性:readonly cameraType: CameraType;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraDevice;
方法or属性:readonly connectionType: ConnectionType;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Size;
方法or属性:height: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Rect;
方法or属性:height: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Size;
方法or属性:width: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Rect;
方法or属性:width: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Point;
方法or属性:x: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Point;
方法or属性:y: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraInput;
方法or属性:open(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraInput;
方法or属性:open(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraInput;
方法or属性:close(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraInput;
方法or属性:close(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraInput;
方法or属性:on(type: 'error', camera: CameraDevice, callback: ErrorCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraFormat;
方法or属性:CAMERA_FORMAT_RGBA_8888 = 3|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraFormat;
方法or属性:CAMERA_FORMAT_YUV_420_SP = 1003|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraFormat;
方法or属性:CAMERA_FORMAT_JPEG = 2000|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FlashMode;
方法or属性:FLASH_MODE_CLOSE = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FlashMode;
方法or属性:FLASH_MODE_OPEN = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FlashMode;
方法or属性:FLASH_MODE_AUTO = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FlashMode;
方法or属性:FLASH_MODE_ALWAYS_OPEN = 3|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ExposureMode;
方法or属性:EXPOSURE_MODE_LOCKED = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ExposureMode;
方法or属性:EXPOSURE_MODE_AUTO = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ExposureMode;
方法or属性:EXPOSURE_MODE_CONTINUOUS_AUTO = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FocusMode;
方法or属性:FOCUS_MODE_MANUAL = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FocusMode;
方法or属性:FOCUS_MODE_CONTINUOUS_AUTO = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FocusMode;
方法or属性:FOCUS_MODE_AUTO = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FocusMode;
方法or属性:FOCUS_MODE_LOCKED = 3|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FocusState;
方法or属性:FOCUS_STATE_SCAN = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FocusState;
方法or属性:FOCUS_STATE_FOCUSED = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FocusState;
方法or属性:FOCUS_STATE_UNFOCUSED = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoStabilizationMode;
方法or属性:OFF = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoStabilizationMode;
方法or属性:LOW = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoStabilizationMode;
方法or属性:MIDDLE = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoStabilizationMode;
方法or属性:HIGH = 3|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoStabilizationMode;
方法or属性:AUTO = 4|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:beginConfig(): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:commitConfig(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:commitConfig(): Promise\;|@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属性:start(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;
方法or属性:start(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoOutput;
方法or属性:start(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:MetadataOutput;
方法or属性:start(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:start(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;
方法or属性:start(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoOutput;
方法or属性:start(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:MetadataOutput;
方法or属性:start(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoOutput;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:MetadataOutput;
方法or属性:stop(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:stop(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;
方法or属性:stop(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoOutput;
方法or属性:stop(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:MetadataOutput;
方法or属性:stop(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraOutput;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:release(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CameraOutput;
方法or属性:release(): Promise\;|@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|类名:CaptureSession;
方法or属性:on(type: 'focusStateChange', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureSession;
方法or属性:on(type: 'error', callback: ErrorCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;
方法or属性:on(type: 'error', callback: ErrorCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:on(type: 'error', callback: ErrorCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoOutput;
方法or属性:on(type: 'error', callback: ErrorCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:MetadataOutput;
方法or属性:on(type: 'error', callback: ErrorCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;
方法or属性:on(type: 'frameStart', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoOutput;
方法or属性:on(type: 'frameStart', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PreviewOutput;
方法or属性:on(type: 'frameEnd', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:VideoOutput;
方法or属性:on(type: 'frameEnd', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ImageRotation;
方法or属性:ROTATION_0 = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ImageRotation;
方法or属性:ROTATION_90 = 90|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ImageRotation;
方法or属性:ROTATION_180 = 180|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:ImageRotation;
方法or属性:ROTATION_270 = 270|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Location;
方法or属性:latitude: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Location;
方法or属性:longitude: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Location;
方法or属性:altitude: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:QualityLevel;
方法or属性:QUALITY_LEVEL_HIGH = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:QualityLevel;
方法or属性:QUALITY_LEVEL_MEDIUM = 1|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:QualityLevel;
方法or属性:QUALITY_LEVEL_LOW = 2|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoCaptureSetting;
方法or属性:quality?: QualityLevel;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoCaptureSetting;
方法or属性:rotation?: ImageRotation;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoCaptureSetting;
方法or属性:location?: Location;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoCaptureSetting;
方法or属性:mirror?: boolean;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:capture(callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:capture(): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:capture(setting: PhotoCaptureSetting, callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:capture(setting?: PhotoCaptureSetting): Promise\;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:isMirrorSupported(): boolean;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:on(type: 'captureStart', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:on(type: 'frameShutter', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:PhotoOutput;
方法or属性:on(type: 'captureEnd', callback: AsyncCallback\): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FrameShutterInfo;
方法or属性:captureId: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureEndInfo;
方法or属性:captureId: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:FrameShutterInfo;
方法or属性:timestamp: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:CaptureEndInfo;
方法or属性:frameCount: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:MetadataObjectType;
方法or属性:FACE_DETECTION = 0|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Rect;
方法or属性:topLeftX: number;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:Rect;
方法or属性:topLeftY: number;|@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|类名:MetadataOutput;
方法or属性:on(type: 'metadataObjectsAvailable', callback: AsyncCallback\>): void;|@ohos.multimedia.camera.d.ts|
|新增|NA|类名:image;
方法or属性:function createImageSource(uri: string, options: SourceOptions): ImageSource;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:image;
方法or属性:function createImageSource(fd: number, options: SourceOptions): ImageSource;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:image;
方法or属性:function createImageSource(buf: ArrayBuffer): ImageSource;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:image;
方法or属性:function createImageSource(buf: ArrayBuffer, options: SourceOptions): ImageSource;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:image;
方法or属性:function CreateIncrementalSource(buf: ArrayBuffer): ImageSource;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:image;
方法or属性:function CreateIncrementalSource(buf: ArrayBuffer, options?: SourceOptions): ImageSource;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:image;
方法or属性:function createImageReceiver(width: number, height: number, format: number, capacity: number): ImageReceiver;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:image;
方法or属性:function createImageCreator(width: number, height: number, format: number, capacity: number): ImageCreator;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMapFormat;
方法or属性:BGRA_8888 = 4|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMapFormat;
方法or属性:RGB_888 = 5|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMapFormat;
方法or属性:ALPHA_8 = 6|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMapFormat;
方法or属性:RGBA_F16 = 7|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMapFormat;
方法or属性:NV21 = 8|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMapFormat;
方法or属性:NV12 = 9|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;
方法or属性:DATE_TIME_ORIGINAL = "DateTimeOriginal"|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;
方法or属性:EXPOSURE_TIME = "ExposureTime"|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;
方法or属性:SCENE_TYPE = "SceneType"|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;
方法or属性:ISO_SPEED_RATINGS = "ISOSpeedRatings"|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PropertyKey;
方法or属性:F_NUMBER = "FNumber"|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageFormat;
方法or属性:YCBCR_422_SP = 1000|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageFormat;
方法or属性:JPEG = 2000|@ohos.multimedia.image.d.ts|
|新增|NA|类名:AlphaType;
方法or属性:UNKNOWN = 0|@ohos.multimedia.image.d.ts|
|新增|NA|类名:AlphaType;
方法or属性:OPAQUE = 1|@ohos.multimedia.image.d.ts|
|新增|NA|类名:AlphaType;
方法or属性:PREMUL = 2|@ohos.multimedia.image.d.ts|
|新增|NA|类名:AlphaType;
方法or属性:UNPREMUL = 3|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ScaleMode;
方法or属性:FIT_TARGET_SIZE = 0|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ScaleMode;
方法or属性:CENTER_CROP = 1|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ComponentType;
方法or属性:YUV_Y = 1|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ComponentType;
方法or属性:YUV_U = 2|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ComponentType;
方法or属性:YUV_V = 3|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ComponentType;
方法or属性:JPEG = 4|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageInfo;
方法or属性:density: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PackingOption;
方法or属性:bufferSize?: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:DecodingOptions;
方法or属性:fitDensity?: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Component;
方法or属性:readonly componentType: ComponentType;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Component;
方法or属性:readonly rowStride: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Component;
方法or属性:readonly pixelStride: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Component;
方法or属性:readonly byteBuffer: ArrayBuffer;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:InitializationOptions;
方法or属性:alphaType?: AlphaType;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:InitializationOptions;
方法or属性:scaleMode?: ScaleMode;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:SourceOptions;
方法or属性:sourceDensity: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:SourceOptions;
方法or属性:sourcePixelFormat?: PixelMapFormat;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:SourceOptions;
方法or属性:sourceSize?: Size;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:getDensity():number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:opacity(rate: number, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:opacity(rate: number): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:createAlphaPixelmap(): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:createAlphaPixelmap(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:scale(x: number, y: number, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:scale(x: number, y: number): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:translate(x: number, y: number, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:translate(x: number, y: number): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:rotate(angle: number, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:rotate(angle: number): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:flip(horizontal: boolean, vertical: boolean, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:flip(horizontal: boolean, vertical: boolean): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:crop(region: Region, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;
方法or属性:crop(region: Region): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;
方法or属性:modifyImageProperty(key: string, value: string): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;
方法or属性:modifyImageProperty(key: string, value: string, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;
方法or属性:updateData(buf: ArrayBuffer, isFinished: boolean, value: number, length: number): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;
方法or属性:updateData(buf: ArrayBuffer, isFinished: boolean, value: number, length: number, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Image;
方法or属性:clipRect: Region;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Image;
方法or属性:readonly size: Size;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:readonly size: Size;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Image;
方法or属性:readonly format: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Image;
方法or属性:getComponent(componentType: ComponentType, callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Image;
方法or属性:getComponent(componentType: ComponentType): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Image;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageCreator;
方法or属性:release(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:Image;
方法or属性:release(): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:release(): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageCreator;
方法or属性:release(): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:readonly capacity: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageCreator;
方法or属性:readonly capacity: number;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:readonly format: ImageFormat;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageCreator;
方法or属性:readonly format: ImageFormat;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:getReceivingSurfaceId(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:getReceivingSurfaceId(): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:readLatestImage(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:readLatestImage(): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:readNextImage(callback: AsyncCallback\): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;
方法or属性:readNextImage(): Promise\;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageReceiver;