提交 775b4e0d 编写于 作者: H huangkaixing

delete changelog

Signed-off-by: Nhuangkaixing <huangkaixing@huawei.com>
上级 877804c8
......@@ -11,8 +11,6 @@
|删除|类名:OutputDeviceInfo;<br>方法or属性:isRemote: boolean;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:OutputDeviceInfo;<br>方法or属性:audioDeviceId: Array\<number>;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:OutputDeviceInfo;<br>方法or属性:deviceName: Array\<string>;|NA|@ohos.multimedia.avsession.d.ts|
|删除|类名:ImageSource;<br>方法or属性:getDelayTime(): Promise\<Array\<number>>;|NA|@ohos.multimedia.image.d.ts|
|删除|类名:ImageSource;<br>方法or属性:getDelayTime(callback: AsyncCallback\<Array\<number>>): void;|NA|@ohos.multimedia.image.d.ts|
|新增|NA|类名:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,region:Array\<number>):Promise\<ColorPicker>;|@ohos.effectKit.d.ts|
|新增|NA|类名:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,region:Array\<number>,callback:AsyncCallback\<ColorPicker>):void;|@ohos.effectKit.d.ts|
|新增|NA|类名:AVMediaDescription;<br>方法or属性:artist?: string;|@ohos.multimedia.avsession.d.ts|
......@@ -209,8 +207,6 @@
|新增|NA|类名:PixelMap;<br>方法or属性:marshalling(sequence: rpc.MessageSequence): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;<br>方法or属性:unmarshalling(sequence: rpc.MessageSequence): Promise\<PixelMap>;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:PixelMap;<br>方法or属性:setColorSpace(colorSpace: colorSpaceManager.ColorSpaceManager): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;<br>方法or属性:getDelayTimeList(): Promise\<Array\<number>>;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:ImageSource;<br>方法or属性:getDelayTimeList(callback: AsyncCallback\<Array\<number>>): void;|@ohos.multimedia.image.d.ts|
|新增|NA|类名:AVPlayer;<br>方法or属性:audioEffectMode ?: audio.AudioEffectMode;|@ohos.multimedia.media.d.ts|
|新增(错误码)|类名:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap): Promise\<ColorPicker>;<br>旧版本信息:|类名:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap): Promise\<ColorPicker>;<br>新版本信息:401|@ohos.effectKit.d.ts|
|新增(错误码)|类名:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,callback:AsyncCallback\<ColorPicker>):void;<br>旧版本信息:|类名:effectKit;<br>方法or属性:function createColorPicker(source:image.PixelMap,callback:AsyncCallback\<ColorPicker>):void;<br>新版本信息:401|@ohos.effectKit.d.ts|
......@@ -237,11 +233,6 @@
|新增(错误码)|类名:AVSessionController;<br>方法or属性:isActive(): Promise\<boolean>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:isActive(): Promise\<boolean>;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:getValidCommands(): Promise\<Array\<AVControlCommandType>>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:getValidCommands(): Promise\<Array\<AVControlCommandType>>;<br>新版本信息:6600101,6600102,6600103|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand): Promise\<void>;<br>旧版本信息:|类名:AVSessionController;<br>方法or属性:sendControlCommand(command: AVControlCommand): Promise\<void>;<br>新版本信息:401,6600101,6600102,6600103,6600105,6600106,6600107|@ohos.multimedia.avsession.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:createPixelMapList(options?: DecodingOptions): Promise\<Array\<PixelMap>>;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:createPixelMapList(options?: DecodingOptions): Promise\<Array\<PixelMap>>;<br>新版本信息:62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:createPixelMapList(callback: AsyncCallback\<Array\<PixelMap>>): void;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:createPixelMapList(callback: AsyncCallback\<Array\<PixelMap>>): void;<br>新版本信息:62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:createPixelMapList(options: DecodingOptions, callback: AsyncCallback\<Array\<PixelMap>>): void;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:createPixelMapList(options: DecodingOptions, callback: AsyncCallback\<Array\<PixelMap>>): void;<br>新版本信息:62980096,62980103,62980110,62980111,62980118|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:getFrameCount(): Promise\<number>;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:getFrameCount(): Promise\<number>;<br>新版本信息:62980096,62980110,62980111,62980113,62980116,62980118,62980122|@ohos.multimedia.image.d.ts|
|新增(错误码)|类名:ImageSource;<br>方法or属性:getFrameCount(callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:ImageSource;<br>方法or属性:getFrameCount(callback: AsyncCallback\<number>): void;<br>新版本信息:62980096,62980110,62980111,62980113,62980116,62980118,62980122|@ohos.multimedia.image.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\<AVSession>): void;<br>旧版本信息:401,{@link|类名:avSession;<br>方法or属性:function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallback\<AVSession>): void;<br>新版本信息:401,6600101|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(callback: AsyncCallback\<Array\<Readonly\<AVSessionDescriptor>>>): void;<br>旧版本信息:201,{@link|类名:avSession;<br>方法or属性:function getAllSessionDescriptors(callback: AsyncCallback\<Array\<Readonly\<AVSessionDescriptor>>>): void;<br>新版本信息:201,6600101|@ohos.multimedia.avsession.d.ts|
|错误码有变化|类名:avSession;<br>方法or属性:function createController(sessionId: string, callback: AsyncCallback\<AVSessionController>): void;<br>旧版本信息:201,401,{@link,{@link|类名:avSession;<br>方法or属性:function createController(sessionId: string, callback: AsyncCallback\<AVSessionController>): void;<br>新版本信息:201,401,6600101,6600102|@ohos.multimedia.avsession.d.ts|
......@@ -408,3 +399,4 @@
|函数有变化|类名:PhotoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:PhotoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
|函数有变化|类名:VideoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:VideoOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
|函数有变化|类名:MetadataOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback\<BusinessError>): void;|类名:MetadataOutput;<br>方法or属性:on(type: 'error', callback: ErrorCallback): void;|@ohos.multimedia.camera.d.ts|
<!--no_check-->
......@@ -38,8 +38,6 @@
| 分布式硬件 | 接口权限变更 | [接口权限变更,在Opeharmonny&nbsp;4.0.8.2之后版本开发的应用,需要持有相应权限,否则无法正常调用接口。](changelogs-device_manager.md) |
| 媒体 | 接口入参变更 | [getAudioEffectInfoArray接口入参变更,删除Content&nbsp;type入参。](changelogs-multimedia.md#clmultimedia4-getaudioeffectinfoarray接口入参变更删除content-type入参) |
| 媒体 | 接口变更 | [删除音轨切换相关接口。](changelogs-multimedia.md#clmultimedia5-播放功能接口变更) |
| 图形 | 接口名称变更 | [ohos.multimedia.image中getDelayTime更名为getDelayTimeList。](changelogs-image.md#climage1-ohosmultimediaimage中getdelaytime更名为getdelaytimelist) |
| 图形 | 接口变更(Native) | [1.image_pixel_map_napi.h&nbsp;废弃API8接口。](changelogs-image.md#climage2-ndk接口变更)<br/>[2.image_pixel_map_napi.h&nbsp;移动除API8以外的接口到image_pixel_map_mdk.h,并去除命名空间。](changelogs-image.md#climage2-ndk接口变更) |
| 元能力-卡片框架 | 接口权限变更 | [ohos.app.form.formHost.d.ts部分接口移出,接口权限变动。](changelogs-formfwk.md#clformfwk1-ohosappformformhostdts部分接口移出接口权限变动) |
| 元能力-卡片框架 | 接口参数变更 | [事件订阅,取消订阅相关接口(on/off)中的callback调整为接口最后一个参数。](changelogs-formfwk.md#clformfwk2-事件订阅取消订阅相关接口onoff参数顺序调整) |
| 泛Sensor | 接口/组件变更 | [新增自定义振动效果属性VibrateFromFile,自定义振动配置文件描述符属性HapticFileDescriptor;振动下发接口startVibration支持的振动效果由VibrateEffect&nbsp;=&nbsp;VibrateTime。](changelogs-miscdevice.md) |
......@@ -47,4 +45,5 @@
> **说明:**
> 以上变更如未明确说明变更类型为Native接口,则均为ArkTS接口的变更。
\ No newline at end of file
> 以上变更如未明确说明变更类型为Native接口,则均为ArkTS接口的变更。
<!--no_check-->
\ No newline at end of file
# 图形Changelog
## cl.image.1 \@ohos.multimedia.image中getDelayTime更名为getDelayTimeList
**变更影响**
对于已发布的JS接口,可能影响应用的兼容性。
**适配指导**
针对已使用该接口开发的应用工程,需要对接口进行适配,将接口修改为getDelayTimeList。
**示例:**
```js
import image from '@ohos.multimedia.image';
let testJpg = new Uint8Array([255, 216, 255, 224, 0, 16, 74, 70, 73, 70, 0, 1, 1, 1, 0, 96, 0, 96, 0, 0, 255, 219, 0, 67, 0, 2, 1, 1, 2, 1, 1, 2,
2, 2, 2, 2, 2, 2, 2, 3, 5, 3, 3, 3, 3, 3, 6, 4, 4, 3, 5, 7, 6, 7, 7, 7, 6, 7, 7, 8, 9, 11, 9, 8,
8, 10, 8, 7, 7, 10, 13, 10, 10, 11, 12, 12, 12, 12, 7, 9, 14, 15, 13, 12, 14, 11, 12, 12, 12, 255, 219, 0, 67, 1, 2, 2,
2, 3, 3, 3, 6, 3, 3, 6, 12, 8, 7, 8, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12,
12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 255, 192,
0, 17, 8, 0, 226, 1, 216, 3, 1, 34, 0, 2, 17, 1, 3, 17, 1, 255, 196, 0, 31, 0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0,
0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 196, 0, 181, 16, 0, 2, 1, 3, 3, 2, 4, 3, 5,
5, 4, 4, 0, 0, 1, 125, 1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35,
66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58,
67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122,
131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183,
184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241,
242, 243, 244, 245, 246, 247, 248, 249, 250, 255, 196, 0, 31, 1, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1,
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 255, 196, 0, 181, 17, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119, 0,
1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21,
98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73,
74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136,
137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196,
197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249,
250, 255, 218, 0, 12, 3, 1, 0, 2, 17, 3, 17, 0, 63, 0, 253, 16, 162, 138, 43, 252, 99, 63, 170, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160,
2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 2, 138, 40, 160, 15, 255, 217])
const imageSourceApi = image.createImageSource(testJpg.buffer);
if (imageSourceApi == undefined) {
console.log('renhw ============== imageSourceApi == undefined');
} else {
imageSourceApi.getDelayTimeList((err, delayTimes) => {
if (err != undefined) {
console.info(`getDelayTimeCallBack getDelayTime failed err` + err);
} else {
console.info(`getDelayTimeCallBack getDelayTime success`);
}
});
}
```
## cl.image.2 NDK接口变更
1. image_pixel_map_napi.h 废弃API8接口
2. image_pixel_map_napi.h 移动除API8以外的接口到image_pixel_map_mdk.h,并去除命名空间
**变更影响**
对于已发布的JS接口,可能影响应用的兼容性。
**适配指导**
1. 添加头文件image_pixel_map_mdk.h。
2. 去除image_pixel_map_mdk.h中接口调用中的命名空间。
**示例:**
```
#include "napi/native_api.h"
#include "image_pixel_map_mdk.h"
#include "image_pixel_map_napi.h"
...
static NativePixelMap* getNativePixelMap(napi_env env, napi_callback_info info)
{
napi_value thisVar = nullptr;
napi_value argValue[NUM_1] = {0};
size_t argCount = NUM_1;
if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok ||
argCount < NUM_1 || argValue[NUM_0] == nullptr) {
return nullptr;
}
return OH_PixelMap_InitNativePixelMap(env, argValue[NUM_0]);
}
...
```
......@@ -78,7 +78,6 @@
- [程序访问控制Changelog](release-notes/changelogs/v4.0-beta2/changelogs-accesstoken.md)
- [分布式数据管理Changelog](release-notes/changelogs/v4.0-beta2/changelogs-distributeddatamgr.md)
- [元能力-卡片框架Changelog](release-notes/changelogs/v4.0-beta2/changelogs-formfwk.md)
- [图形Changelog](release-notes/changelogs/v4.0-beta2/changelogs-image.md)
- [输入法框架Changelog](release-notes/changelogs/v4.0-beta2/changelogs-imf.md)
- [媒体Changelog](release-notes/changelogs/v4.0-beta2/changelogs-multimedia.md)
- [主题框架-锁屏管理Changelog](release-notes/changelogs/v4.0-beta2/changelogs-screenlock.md)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册