diff --git a/zh-cn/application-dev/reference/native-apis/_1_a_v_session_1_1_a_v_playback_state_1_1_position.md b/zh-cn/application-dev/reference/native-apis/_1_a_v_session_1_1_a_v_playback_state_1_1_position.md index ab87d4886fa45ee895144dae8d7da540ace76590..c9c21886df62666e25200db386d53a033899b2c6 100644 --- a/zh-cn/application-dev/reference/native-apis/_1_a_v_session_1_1_a_v_playback_state_1_1_position.md +++ b/zh-cn/application-dev/reference/native-apis/_1_a_v_session_1_1_a_v_playback_state_1_1_position.md @@ -5,10 +5,8 @@ 播放位置的相关信息。 -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_audio_decoder.md b/zh-cn/application-dev/reference/native-apis/_audio_decoder.md index bc160c71ac1a6bb8bd68731801cd47b55d8b8351..9fc9af23256d369d24609fafd1380f325c05bf3d 100644 --- a/zh-cn/application-dev/reference/native-apis/_audio_decoder.md +++ b/zh-cn/application-dev/reference/native-apis/_audio_decoder.md @@ -7,10 +7,8 @@ AudioDecoder模块提供用于音频解码功能的函数。 @syscap SystemCapability.Multimedia.Media.AudioDecoder -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_audio_encoder.md b/zh-cn/application-dev/reference/native-apis/_audio_encoder.md index a3edbb7794850ffc8b0136787d4caeda2bab7135..cafd93cefe0297671c38cdcffcfa93e78dbd22b1 100644 --- a/zh-cn/application-dev/reference/native-apis/_audio_encoder.md +++ b/zh-cn/application-dev/reference/native-apis/_audio_encoder.md @@ -7,10 +7,8 @@ AudioEncoder模块提供用于音频编码功能的函数。 @syscap SystemCapability.Multimedia.Media.AudioEncoder -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_codec_base.md b/zh-cn/application-dev/reference/native-apis/_codec_base.md index a19b89726fd1822cce7d8fceb602ce54972e5f14..ad17aaa1184a11aceeef7ed0c490479d10118f27 100644 --- a/zh-cn/application-dev/reference/native-apis/_codec_base.md +++ b/zh-cn/application-dev/reference/native-apis/_codec_base.md @@ -7,10 +7,8 @@ CodecBase模块提供运行音视频编解码通用的结构体、字符常量 @syscap SystemCapability.Multimedia.Media.CodecBase -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_core.md b/zh-cn/application-dev/reference/native-apis/_core.md index 93b290c3d4ffc206759d38e133b64b43657afa19..f22ab2b5480b7da877274a105533c18feb168323 100644 --- a/zh-cn/application-dev/reference/native-apis/_core.md +++ b/zh-cn/application-dev/reference/native-apis/_core.md @@ -7,10 +7,8 @@ Core模块提供用于播放框架的基础骨干能力,包含内存、错误 @syscap SystemCapability.Multimedia.Media.Core -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_drawing.md b/zh-cn/application-dev/reference/native-apis/_drawing.md index 64ce6a9a7ec1cf306fbe9647082038f249ea21b5..fe4c793ed6eb61ea2ee6cb348dd615e50c22f06d 100644 --- a/zh-cn/application-dev/reference/native-apis/_drawing.md +++ b/zh-cn/application-dev/reference/native-apis/_drawing.md @@ -10,7 +10,7 @@ Drawing模块提供包括2D图形渲染、文字绘制和图片显示等功能 @syscap SystemCapability.Graphic.Graphic2D.NativeDrawing -**自从:** +**起始版本:** 8 @@ -173,7 +173,7 @@ typedef struct OH_Drawing_Bitmap OH_Drawing_Bitmap OH_Drawing_Bitmap定义为位图,位图是一块内存,内存中包含了描述一张图片的像素数据 -**自从:** +**起始版本:** 8 @@ -189,7 +189,7 @@ typedef struct OH_Drawing_Brush OH_Drawing_Brush OH_Drawing_Brush定义为画刷,画刷用于描述填充图形的样式和颜色 -**自从:** +**起始版本:** 8 @@ -205,7 +205,7 @@ typedef struct OH_Drawing_Canvas OH_Drawing_Canvas OH_Drawing_Canvas定义为一块矩形的画布,可以结合画笔和画刷在上面绘制各种形状、图片和文字 -**自从:** +**起始版本:** 8 @@ -221,7 +221,7 @@ typedef struct OH_Drawing_FontCollection OH_Drawing_FontCollection OH_Drawing_FontCollection用于加载字体 -**自从:** +**起始版本:** 8 @@ -237,7 +237,7 @@ typedef struct OH_Drawing_Path OH_Drawing_Path OH_Drawing_Path定义为路径,路径用于自定义各种形状 -**自从:** +**起始版本:** 8 @@ -253,7 +253,7 @@ typedef struct OH_Drawing_Pen OH_Drawing_Pen OH_Drawing_Pen定义为画笔,画笔用于描述绘制图形轮廓的样式和颜色 -**自从:** +**起始版本:** 8 @@ -269,7 +269,7 @@ typedef struct OH_Drawing_TextStyle OH_Drawing_TextStyle OH_Drawing_TextStyle用于管理字体颜色、装饰等 -**自从:** +**起始版本:** 8 @@ -285,7 +285,7 @@ typedef struct OH_Drawing_Typography OH_Drawing_Typography OH_Drawing_Typography用于管理排版的布局和显示等 -**自从:** +**起始版本:** 8 @@ -301,7 +301,7 @@ typedef struct OH_Drawing_TypographyCreate OH_Drawing_TypographyCreate OH_Drawing_TypographyCreate用于创建OH_Drawing_Typography -**自从:** +**起始版本:** 8 @@ -317,7 +317,7 @@ typedef struct OH_Drawing_TypographyStyle OH_Drawing_TypographyStyle OH_Drawing_TypographyStyle用于管理排版风格,如文字方向等 -**自从:** +**起始版本:** 8 @@ -343,7 +343,7 @@ OH_Drawing_AlphaFormat用于描述位图像素的透明度分量 | ALPHA_FORMAT_PREMUL | 每个像素的颜色组件由透明度分量预先乘以 | | ALPHA_FORMAT_UNPREMUL | 每个像素的颜色组件未由透明度分量预先乘以 | -**自从:** +**起始版本:** 8 @@ -368,7 +368,7 @@ OH_Drawing_ColorFormat用于描述位图像素的存储格式 | COLOR_FORMAT_RGBA_8888 | 每个像素用一个32位的量表示,高位到低位依次是8个比特位表示透明度,8个比特位表示红,8个比特位表示绿,8个比特位表示蓝 | | COLOR_FORMAT_BGRA_8888 | 每个像素用一个32位的量表示,高位到低位依次是8个比特位表示蓝,8个比特位表示绿,8个比特位表示红,8个比特位表示透明度 | -**自从:** +**起始版本:** 8 @@ -389,7 +389,7 @@ enum OH_Drawing_FontStyle | FONT_STYLE_NORMAL | 非斜体 | | FONT_STYLE_ITALIC | 斜体 | -**自从:** +**起始版本:** 8 @@ -417,7 +417,7 @@ enum OH_Drawing_FontWeight | FONT_WEIGHT_800 | 字重为extra-bold | | FONT_WEIGHT_900 | 字重为black | -**自从:** +**起始版本:** 8 @@ -439,7 +439,7 @@ enum OH_Drawing_PenLineCapStyle | LINE_SQUARE_CAP | 笔帽的样式为方框,线条的头尾端点处多出一个方框,方框宽度和线段一样宽,高度时线段厚度的一半 | | LINE_ROUND_CAP | 笔帽的样式为圆弧,线条的头尾端点处多出一个半圆弧,半圆的直径与线段厚度一致 | -**自从:** +**起始版本:** 8 @@ -461,7 +461,7 @@ enum OH_Drawing_PenLineJoinStyle | LINE_ROUND_JOIN | 转角类型为圆头 | | LINE_BEVEL_JOIN | 转角类型为平头 | -**自从:** +**起始版本:** 8 @@ -486,7 +486,7 @@ enum OH_Drawing_TextAlign | TEXT_ALIGN_START | 当OH_Drawing_TextDirection是TEXT_DIRECTION_LTR时, TEXT_ALIGN_START和TEXT_ALIGN_LEFT相同; 类似地,当OH_Drawing_TextDirection是TEXT_DIRECTION_RTL时, TEXT_ALIGN_START和TEXT_ALIGN_RIGHT相同。 | | TEXT_ALIGN_END | 当OH_Drawing_TextDirection是TEXT_DIRECTION_LTR时, TEXT_ALIGN_END和TEXT_ALIGN_RIGHT相同; 类似地,当OH_Drawing_TextDirection是TEXT_DIRECTION_RTL时, TEXT_ALIGN_END和TEXT_ALIGN_LEFT相同。 | -**自从:** +**起始版本:** 8 @@ -507,7 +507,7 @@ enum OH_Drawing_TextBaseline | TEXT_BASELINE_ALPHABETIC | 用于表音文字,基线在中间偏下的位置 | | TEXT_BASELINE_IDEOGRAPHIC | 用于表意文字,基线位于底部 | -**自从:** +**起始版本:** 8 @@ -530,7 +530,7 @@ enum OH_Drawing_TextDecoration | TEXT_DECORATION_OVERLINE | 上划线 | | TEXT_DECORATION_LINE_THROUGH | 删除线 | -**自从:** +**起始版本:** 8 @@ -551,7 +551,7 @@ enum OH_Drawing_TextDirection | TEXT_DIRECTION_RTL | 方向:从右到左 | | TEXT_DIRECTION_LTR | 方向:从左到右 | -**自从:** +**起始版本:** 8 @@ -581,7 +581,7 @@ void OH_Drawing_BitmapBuild (OH_Drawing_Bitmap * , const uint32_t width, const u | height | 参数是位图要初始化设置的高度 | | [OH_Drawing_BitmapFormat](_o_h___drawing___bitmap_format.md) | 参数是位图要初始化设置的像素格式,包括像素的颜色类型和透明度类型 | -**自从:** +**起始版本:** 8 @@ -603,7 +603,7 @@ OH_Drawing_Bitmap* OH_Drawing_BitmapCreate (void ) 函数会返回一个指针,指针指向创建的位图对象 -**自从:** +**起始版本:** 8 @@ -627,7 +627,7 @@ void OH_Drawing_BitmapDestroy (OH_Drawing_Bitmap * ) | -------- | -------- | | OH_Drawing_Bitmap | 参数是一个指向位图对象的指针 | -**自从:** +**起始版本:** 8 @@ -655,7 +655,7 @@ uint32_t OH_Drawing_BitmapGetHeight (OH_Drawing_Bitmap * ) 函数返回位图的高度 -**自从:** +**起始版本:** 8 @@ -683,7 +683,7 @@ void* OH_Drawing_BitmapGetPixels (OH_Drawing_Bitmap * ) 函数返回位图的像素地址 -**自从:** +**起始版本:** 8 @@ -711,7 +711,7 @@ uint32_t OH_Drawing_BitmapGetWidth (OH_Drawing_Bitmap * ) 函数返回位图的宽度 -**自从:** +**起始版本:** 8 @@ -733,7 +733,7 @@ OH_Drawing_Brush* OH_Drawing_BrushCreate (void ) 函数会返回一个指针,指针指向创建的画刷对象 -**自从:** +**起始版本:** 8 @@ -757,7 +757,7 @@ void OH_Drawing_BrushDestroy (OH_Drawing_Brush * ) | -------- | -------- | | OH_Drawing_Brush | 参数是一个指向画刷对象的指针 | -**自从:** +**起始版本:** 8 @@ -785,7 +785,7 @@ uint32_t OH_Drawing_BrushGetColor (const OH_Drawing_Brush * ) 函数返回一个描述颜色的32位(ARGB)变量 -**自从:** +**起始版本:** 8 @@ -813,7 +813,7 @@ bool OH_Drawing_BrushIsAntiAlias (const OH_Drawing_Brush * ) 函数返回画刷对象是否设置抗锯齿属性,返回真则设置了抗锯齿,返回假则没有设置抗锯齿 -**自从:** +**起始版本:** 8 @@ -838,7 +838,7 @@ void OH_Drawing_BrushSetAntiAlias (OH_Drawing_Brush * , bool ) | OH_Drawing_Brush | 参数是一个指向画刷对象的指针 | | bool | 参数真为抗锯齿,参数假则不做抗锯齿处理 | -**自从:** +**起始版本:** 8 @@ -863,7 +863,7 @@ void OH_Drawing_BrushSetColor (OH_Drawing_Brush * , uint32_t color ) | OH_Drawing_Brush | 参数是一个指向画刷对象的指针 | | color | 参数是一个描述颜色的32位(ARGB)变量 | -**自从:** +**起始版本:** 8 @@ -888,7 +888,7 @@ void OH_Drawing_CanvasAttachBrush (OH_Drawing_Canvas * , const OH_Drawing_Brush | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | | OH_Drawing_Brush | 参数为一个指向画刷对象的指针 | -**自从:** +**起始版本:** 8 @@ -913,7 +913,7 @@ void OH_Drawing_CanvasAttachPen (OH_Drawing_Canvas * , const OH_Drawing_Pen * ) | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | | OH_Drawing_Pen | 参数为一个指向画笔对象的指针 | -**自从:** +**起始版本:** 8 @@ -938,7 +938,7 @@ void OH_Drawing_CanvasBind (OH_Drawing_Canvas * , OH_Drawing_Bitmap * ) | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | | OH_Drawing_Bitmap | 参数为一个指向位图对象的指针 | -**自从:** +**起始版本:** 8 @@ -963,7 +963,7 @@ void OH_Drawing_CanvasClear (OH_Drawing_Canvas * , uint32_t color ) | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | | color | 参数为一个描述颜色的32位(ARGB)变量 | -**自从:** +**起始版本:** 8 @@ -985,7 +985,7 @@ OH_Drawing_Canvas* OH_Drawing_CanvasCreate (void ) 函数会返回一个指针,指针指向创建的画布对象 -**自从:** +**起始版本:** 8 @@ -1009,7 +1009,7 @@ void OH_Drawing_CanvasDestroy (OH_Drawing_Canvas * ) | -------- | -------- | | OH_Drawing_Canvas | 参数是一个指向画布对象的指针 | -**自从:** +**起始版本:** 8 @@ -1033,7 +1033,7 @@ void OH_Drawing_CanvasDetachBrush (OH_Drawing_Canvas * ) | -------- | -------- | | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | -**自从:** +**起始版本:** 8 @@ -1057,7 +1057,7 @@ void OH_Drawing_CanvasDetachPen (OH_Drawing_Canvas * ) | -------- | -------- | | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | -**自从:** +**起始版本:** 8 @@ -1085,7 +1085,7 @@ void OH_Drawing_CanvasDrawLine (OH_Drawing_Canvas * , float x1, float y1, float | x2 | 参数为线段结束点的横坐标 | | y2 | 参数为线段结束点的纵坐标 | -**自从:** +**起始版本:** 8 @@ -1110,7 +1110,7 @@ void OH_Drawing_CanvasDrawPath (OH_Drawing_Canvas * , const OH_Drawing_Path * ) | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | | OH_Drawing_Path | 参数为一个指向路径对象的指针 | -**自从:** +**起始版本:** 8 @@ -1134,7 +1134,7 @@ void OH_Drawing_CanvasRestore (OH_Drawing_Canvas * ) | -------- | -------- | | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | -**自从:** +**起始版本:** 8 @@ -1158,7 +1158,7 @@ void OH_Drawing_CanvasSave (OH_Drawing_Canvas * ) | -------- | -------- | | OH_Drawing_Canvas | 参数为一个指向画布对象的指针 | -**自从:** +**起始版本:** 8 @@ -1189,7 +1189,7 @@ uint32_t OH_Drawing_ColorSetArgb (uint32_t alpha, uint32_t red, uint32_t green, 函数返回一个描述颜色的32位(ARGB)变量 -**自从:** +**起始版本:** 8 @@ -1211,7 +1211,7 @@ OH_Drawing_FontCollection* OH_Drawing_CreateFontCollection (void ) 指向创建的OH_Drawing_FontCollection对象的指针 -**自从:** +**起始版本:** 8 @@ -1233,7 +1233,7 @@ OH_Drawing_TextStyle* OH_Drawing_CreateTextStyle (void ) 指向创建的OH_Drawing_TextStyle对象的指针 -**自从:** +**起始版本:** 8 @@ -1261,7 +1261,7 @@ OH_Drawing_Typography* OH_Drawing_CreateTypography (OH_Drawing_TypographyCreate 指向OH_Drawing_Typography对象的指针 -**自从:** +**起始版本:** 8 @@ -1290,7 +1290,7 @@ OH_Drawing_TypographyCreate* OH_Drawing_CreateTypographyHandler (OH_Drawing_Typo 指向新创建的OH_Drawing_TypographyCreate对象的指针 -**自从:** +**起始版本:** 8 @@ -1312,7 +1312,7 @@ OH_Drawing_TypographyStyle* OH_Drawing_CreateTypographyStyle (void ) 指向创建的OH_Drawing_TypographyStyle对象的指针 -**自从:** +**起始版本:** 8 @@ -1336,7 +1336,7 @@ void OH_Drawing_DestroyFontCollection (OH_Drawing_FontCollection * ) | -------- | -------- | | OH_Drawing_FontCollection | 指向OH_Drawing_FontCollection对象的指针 | -**自从:** +**起始版本:** 8 @@ -1360,7 +1360,7 @@ void OH_Drawing_DestroyTextStyle (OH_Drawing_TextStyle * ) | -------- | -------- | | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | -**自从:** +**起始版本:** 8 @@ -1384,7 +1384,7 @@ void OH_Drawing_DestroyTypography (OH_Drawing_Typography * ) | -------- | -------- | | OH_Drawing_Typography | 指向OH_Drawing_Typography对象的指针 | -**自从:** +**起始版本:** 8 @@ -1408,7 +1408,7 @@ void OH_Drawing_DestroyTypographyHandler (OH_Drawing_TypographyCreate * ) | -------- | -------- | | OH_Drawing_TypographyCreate | 指向OH_Drawing_TypographyCreate对象的指针 | -**自从:** +**起始版本:** 8 @@ -1432,7 +1432,7 @@ void OH_Drawing_DestroyTypographyStyle (OH_Drawing_TypographyStyle * ) | -------- | -------- | | OH_Drawing_TypographyStyle | 指向OH_Drawing_TypographyStyle对象的指针 | -**自从:** +**起始版本:** 8 @@ -1462,7 +1462,7 @@ void OH_Drawing_PathArcTo (OH_Drawing_Path * , float x1, float y1, float x2, flo |startDeg | 参数为起始的角度 | |sweepDeg | 参数为扫描的度数 | -**自从:** +**起始版本:** 8 @@ -1486,7 +1486,7 @@ void OH_Drawing_PathClose (OH_Drawing_Path * ) | -------- | -------- | | OH_Drawing_Path | 参数为一个指向路径对象的指针 | -**自从:** +**起始版本:** 8 @@ -1508,7 +1508,7 @@ OH_Drawing_Path* OH_Drawing_PathCreate (void ) 函数会返回一个指针,指针指向创建的路径对象 -**自从:** +**起始版本:** 8 @@ -1538,7 +1538,7 @@ void OH_Drawing_PathCubicTo (OH_Drawing_Path * , float ctrlX1, float ctrlY1, flo | endX | 参数为目标点位置的横坐标 | | endY | 参数为目标点位置的纵坐标 | -**自从:** +**起始版本:** 8 @@ -1562,7 +1562,7 @@ void OH_Drawing_PathDestroy (OH_Drawing_Path * ) | -------- | -------- | | OH_Drawing_Path | 参数为一个指向路径对象的指针 | -**自从:** +**起始版本:** 8 @@ -1588,7 +1588,7 @@ void OH_Drawing_PathLineTo (OH_Drawing_Path * , float x, float y ) | x | 参数为目标点的横坐标 | | y | 参数为目标点的纵坐标 | -**自从:** +**起始版本:** 8 @@ -1614,7 +1614,7 @@ void OH_Drawing_PathMoveTo (OH_Drawing_Path * , float x, float y ) | x | 参数为起始点的横坐标 | | y | 参数为起始点的纵坐标 | -**自从:** +**起始版本:** 8 @@ -1642,7 +1642,7 @@ void OH_Drawing_PathQuadTo (OH_Drawing_Path * , float ctrlX, float ctrlY, float | endX | 参数为目标点位置的横坐标 | | endY | 参数为目标点位置的纵坐标 | -**自从:** +**起始版本:** 8 @@ -1666,7 +1666,7 @@ void OH_Drawing_PathReset (OH_Drawing_Path * ) | -------- | -------- | | OH_Drawing_Path | 参数为一个指向路径对象的指针 | -**自从:** +**起始版本:** 8 @@ -1688,7 +1688,7 @@ OH_Drawing_Pen* OH_Drawing_PenCreate (void ) 函数会返回一个指针,指针指向创建的画笔对象 -**自从:** +**起始版本:** 8 @@ -1712,7 +1712,7 @@ void OH_Drawing_PenDestroy (OH_Drawing_Pen * ) | -------- | -------- | | OH_Drawing_Pen | 参数是一个指向画笔对象的指针 | -**自从:** +**起始版本:** 8 @@ -1740,7 +1740,7 @@ OH_Drawing_PenLineCapStyle OH_Drawing_PenGetCap (const OH_Drawing_Pen * ) 函数返回画笔笔帽样式 -**自从:** +**起始版本:** 8 @@ -1768,7 +1768,7 @@ uint32_t OH_Drawing_PenGetColor (const OH_Drawing_Pen * ) 函数返回一个描述颜色的32位(ARGB)变量 -**自从:** +**起始版本:** 8 @@ -1796,7 +1796,7 @@ OH_Drawing_PenLineJoinStyle OH_Drawing_PenGetJoin (const OH_Drawing_Pen * ) 函数返回折线转角的样式 -**自从:** +**起始版本:** 8 @@ -1824,7 +1824,7 @@ float OH_Drawing_PenGetMiterLimit (const OH_Drawing_Pen * ) 函数返回尖角的限制值 -**自从:** +**起始版本:** 8 @@ -1852,7 +1852,7 @@ float OH_Drawing_PenGetWidth (const OH_Drawing_Pen * ) 函数返回画笔的厚度 -**自从:** +**起始版本:** 8 @@ -1880,7 +1880,7 @@ bool OH_Drawing_PenIsAntiAlias (const OH_Drawing_Pen * ) 函数返回画笔对象是否设置抗锯齿属性,返回真则设置了抗锯齿,返回假则没有设置抗锯齿 -**自从:** +**起始版本:** 8 @@ -1905,7 +1905,7 @@ void OH_Drawing_PenSetAntiAlias (OH_Drawing_Pen * , bool ) | OH_Drawing_Pen | 参数是一个指向画笔对象的指针 | | bool | 参数真为抗锯齿,参数假则不做抗锯齿处理 | -**自从:** +**起始版本:** 8 @@ -1930,7 +1930,7 @@ void OH_Drawing_PenSetCap (OH_Drawing_Pen * , OH_Drawing_PenLineCapStyle ) | OH_Drawing_Pen | 参数是一个指向画笔对象的指针 | | OH_Drawing_PenLineCapStyle | 参数是一个描述画笔笔帽样式的变量 | -**自从:** +**起始版本:** 8 @@ -1955,7 +1955,7 @@ void OH_Drawing_PenSetColor (OH_Drawing_Pen * , uint32_t color ) | OH_Drawing_Pen | 参数是一个指向画笔对象的指针 | | color | 参数是一个描述颜色的32位(ARGB)变量 | -**自从:** +**起始版本:** 8 @@ -1980,7 +1980,7 @@ void OH_Drawing_PenSetJoin (OH_Drawing_Pen * , OH_Drawing_PenLineJoinStyle ) | OH_Drawing_Pen | 参数是一个指向画笔对象的指针 | | OH_Drawing_PenLineJoinStyle | 参数值一个描述折线转角样式的变量 | -**自从:** +**起始版本:** 8 @@ -2005,7 +2005,7 @@ void OH_Drawing_PenSetMiterLimit (OH_Drawing_Pen * , float miter ) | OH_Drawing_Pen | 参数是一个指向画笔对象的指针 | | miter | 参数是一个描述尖角限制值的变量 | -**自从:** +**起始版本:** 8 @@ -2030,7 +2030,7 @@ void OH_Drawing_PenSetWidth (OH_Drawing_Pen * , float width ) | OH_Drawing_Pen | 参数是一个指向画笔对象的指针 | | width | 参数是一个描述画笔厚度的变量 | -**自从:** +**起始版本:** 8 @@ -2055,7 +2055,7 @@ void OH_Drawing_SetTextStyleBaseLine (OH_Drawing_TextStyle * , int ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | int | OH_Drawing_TextBaseline枚举类型 | -**自从:** +**起始版本:** 8 @@ -2080,7 +2080,7 @@ void OH_Drawing_SetTextStyleColor (OH_Drawing_TextStyle * , uint32_t ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | uint32_t | 颜色 | -**自从:** +**起始版本:** 8 @@ -2105,7 +2105,7 @@ void OH_Drawing_SetTextStyleDecoration (OH_Drawing_TextStyle * , int ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | int | OH_Drawing_TextDecoration枚举类型 | -**自从:** +**起始版本:** 8 @@ -2130,7 +2130,7 @@ void OH_Drawing_SetTextStyleDecorationColor (OH_Drawing_TextStyle * , uint32_t | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | uint32_t | 颜色 | -**自从:** +**起始版本:** 8 @@ -2156,7 +2156,7 @@ void OH_Drawing_SetTextStyleFontFamilies (OH_Drawing_TextStyle * , int , const c | int | 字体名称数量 | | fontFamilies | 指向字体类型的指针数组 | -**自从:** +**起始版本:** 8 @@ -2181,7 +2181,7 @@ void OH_Drawing_SetTextStyleFontHeight (OH_Drawing_TextStyle * , double ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | double | 字体高度 | -**自从:** +**起始版本:** 8 @@ -2206,7 +2206,7 @@ void OH_Drawing_SetTextStyleFontSize (OH_Drawing_TextStyle * , double ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | double | 字号 | -**自从:** +**起始版本:** 8 @@ -2231,7 +2231,7 @@ void OH_Drawing_SetTextStyleFontStyle (OH_Drawing_TextStyle * , int ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | int | OH_Drawing_FontStyle枚举类型 | -**自从:** +**起始版本:** 8 @@ -2256,7 +2256,7 @@ void OH_Drawing_SetTextStyleFontWeight (OH_Drawing_TextStyle * , int ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | int | OH_Drawing_FontWeight枚举类型 | -**自从:** +**起始版本:** 8 @@ -2281,7 +2281,7 @@ void OH_Drawing_SetTextStyleLocale (OH_Drawing_TextStyle * , const char * ) | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | | char | 语言区域,数据类型为指向char的指针 | -**自从:** +**起始版本:** 8 @@ -2306,7 +2306,7 @@ void OH_Drawing_SetTypographyTextAlign (OH_Drawing_TypographyStyle * , int ) | OH_Drawing_TypographyStyle | 指向OH_Drawing_TypographyStyle对象的指针 | | int | OH_Drawing_TextAlign枚举类型 | -**自从:** +**起始版本:** 8 @@ -2331,7 +2331,7 @@ void OH_Drawing_SetTypographyTextDirection (OH_Drawing_TypographyStyle * , int | OH_Drawing_TypographyStyle | 指向OH_Drawing_TypographyStyle对象的指针 | | int | OH_Drawing_TextDirection枚举类型 | -**自从:** +**起始版本:** 8 @@ -2356,7 +2356,7 @@ void OH_Drawing_SetTypographyTextMaxLines (OH_Drawing_TypographyStyle * , int ) | OH_Drawing_TypographyStyle | 指向OH_Drawing_TypographyStyle对象的指针 | | int | 最大行数 | -**自从:** +**起始版本:** 8 @@ -2381,7 +2381,7 @@ void OH_Drawing_TypographyHandlerAddText (OH_Drawing_TypographyCreate * , const | OH_Drawing_TypographyCreate | 指向OH_Drawing_TypographyCreate对象的指针 | | char | 指向文本内容的指针 | -**自从:** +**起始版本:** 8 @@ -2405,7 +2405,7 @@ void OH_Drawing_TypographyHandlerPopTextStyle (OH_Drawing_TypographyCreate * ) | -------- | -------- | | OH_Drawing_TypographyCreate | 指向OH_Drawing_TypographyCreate对象的指针 | -**自从:** +**起始版本:** 8 @@ -2430,7 +2430,7 @@ void OH_Drawing_TypographyHandlerPushTextStyle (OH_Drawing_TypographyCreate * , | OH_Drawing_TypographyCreate | 指向OH_Drawing_TypographyCreate对象的指针 | | OH_Drawing_TextStyle | 指向OH_Drawing_TextStyle对象的指针 | -**自从:** +**起始版本:** 8 @@ -2455,7 +2455,7 @@ void OH_Drawing_TypographyLayout (OH_Drawing_Typography * , double ) | OH_Drawing_Typography | 指向OH_Drawing_Typography对象的指针 | | double | 文本最大宽度 | -**自从:** +**起始版本:** 8 @@ -2482,6 +2482,6 @@ void OH_Drawing_TypographyPaint (OH_Drawing_Typography * , OH_Drawing_Canvas * , | double | x坐标 | | double | y坐标 | -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_h_o_s_1_1_a_v_session_1_1_a_v_controller_callback.md b/zh-cn/application-dev/reference/native-apis/_h_o_s_1_1_a_v_session_1_1_a_v_controller_callback.md index ef94d783a274a4d2e471008f5104a9de74c0629f..e22742620f0f43a66c788c723f95e349b2a70b78 100644 --- a/zh-cn/application-dev/reference/native-apis/_h_o_s_1_1_a_v_session_1_1_a_v_controller_callback.md +++ b/zh-cn/application-dev/reference/native-apis/_h_o_s_1_1_a_v_session_1_1_a_v_controller_callback.md @@ -5,10 +5,8 @@ 定义控制器相关回调操作的类的实现。 -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_hi_log.md b/zh-cn/application-dev/reference/native-apis/_hi_log.md index 0eb0c6352303fee4217b437f58c15cc3efb689fb..0861e94472e7285c98d5f84f37407ca210f872b4 100644 --- a/zh-cn/application-dev/reference/native-apis/_hi_log.md +++ b/zh-cn/application-dev/reference/native-apis/_hi_log.md @@ -10,7 +10,7 @@ HiLog模块实现日志打印功能。 @syscap SystemCapability.HiviewDFX.HiLog -**自从:** +**起始版本:** 8 @@ -32,11 +32,11 @@ HiLog模块实现日志打印功能。 | -------- | -------- | | [LOG_DOMAIN](#log_domain) 0 | 日志所对应的业务领域,用于标识业务的子系统、模块。 | | [LOG_TAG](#log_tag) NULL | 字符串常量,标识调用所在的类或者业务。 | -| [OH_LOG_DEBUG](#oh_log_debug)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_DEBUG, LOG_DOMAIN, LOG_TAG, \__VA_ARGS__)) | DEBUG级别写日志,宏封装接口。 | -| [OH_LOG_INFO](#oh_log_info)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_INFO, LOG_DOMAIN, LOG_TAG, \__VA_ARGS__)) | INFO级别写日志,宏封装接口。 | -| [OH_LOG_WARN](#oh_log_warn)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_WARN, LOG_DOMAIN, LOG_TAG, \__VA_ARGS__)) | WARN级别写日志,宏封装接口。 | -| [OH_LOG_ERROR](#oh_log_error)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_ERROR, LOG_DOMAIN, LOG_TAG, \__VA_ARGS__)) | ERROR级别写日志,宏封装接口。 | -| [OH_LOG_FATAL](#oh_log_fatal)(type, ...) ((void)HiLogPrint((type), LOG_FATAL, LOG_DOMAIN, LOG_TAG, \__VA_ARGS__)) | FATAL级别写日志,宏封装接口。 | +| [OH_LOG_DEBUG](#oh_log_debug)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_DEBUG, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | DEBUG级别写日志,宏封装接口。 | +| [OH_LOG_INFO](#oh_log_info)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_INFO, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | INFO级别写日志,宏封装接口。 | +| [OH_LOG_WARN](#oh_log_warn)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_WARN, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | WARN级别写日志,宏封装接口。 | +| [OH_LOG_ERROR](#oh_log_error)(type, ...) ((void)[OH_LOG_Print](#oh_log_print)((type), LOG_ERROR, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | ERROR级别写日志,宏封装接口。 | +| [OH_LOG_FATAL](#oh_log_fatal)(type, ...) ((void)HiLogPrint((type), LOG_FATAL, LOG_DOMAIN, LOG_TAG, \_\_VA_ARGS__)) | FATAL级别写日志,宏封装接口。 | ### 枚举 @@ -51,7 +51,7 @@ HiLog模块实现日志打印功能。 | 函数名称 | 描述 | | -------- | -------- | -| [OH_LOG_Print](#oh_log_print) ([LogType](#logtype) type, [LogLevel](#loglevel) level, unsigned int domain, const char \*tag, const char \*fmt,...) \_\_attribute\_\_((\_\_format\_\_(os\_log | 写日志接口。 | +| [OH_LOG_Print](#oh_log_print) ([LogType](#logtype) type, [LogLevel](#loglevel) level, unsigned int domain, const char \*tag, const char \*fmt,...) \_\_attribute\_\_((\_\_format\_\_(os\_log, 5,6))) | 写日志接口。 | | [OH_LOG_IsLoggable](#oh_log_isloggable) (unsigned int domain, const char \*tag, [LogLevel](#loglevel) level) | 检查指定业务领域、TAG、级别的日志是否可以打印。 | @@ -74,7 +74,7 @@ HiLog模块实现日志打印功能。 16进制整数,有效范围0x0~0xFFFF,超过自动截掉高位。 -**自从:** +**起始版本:** 8 @@ -90,7 +90,7 @@ HiLog模块实现日志打印功能。 字符串常量,标识调用所在的类或者业务。 -**自从:** +**起始版本:** 8 @@ -120,7 +120,7 @@ DEBUG级别写日志,宏封装接口。 [OH_LOG_Print](#oh_log_print) -**自从:** +**起始版本:** 8 @@ -150,7 +150,7 @@ ERROR级别写日志,宏封装接口。 [OH_LOG_Print](#oh_log_print) -**自从:** +**起始版本:** 8 @@ -180,7 +180,7 @@ FATAL级别写日志,宏封装接口。 [OH_LOG_Print](#oh_log_print) -**自从:** +**起始版本:** 8 @@ -210,7 +210,7 @@ INFO级别写日志,宏封装接口。 [OH_LOG_Print](#oh_log_print) -**自从:** +**起始版本:** 8 @@ -240,7 +240,7 @@ WARN级别写日志,宏封装接口。 [OH_LOG_Print](#oh_log_print) -**自从:** +**起始版本:** 8 @@ -281,7 +281,7 @@ FATAL:重大致命异常,表明程序或功能即将崩溃,故障无法恢 | LOG_ERROR | ERROR日志级别,使用OH_LOG_ERROR接口打印 | | LOG_FATAL | FATAL日志级别,使用OH_LOG_FATAL接口打印 | -**自从:** +**起始版本:** 8 @@ -303,7 +303,7 @@ enum LogType | -------- | -------- | | LOG_APP | 应用日志 | -**自从:** +**起始版本:** 8 @@ -334,7 +334,7 @@ bool OH_LOG_IsLoggable (unsigned int domain, const char * tag, LogLevel level ) 如果指定domain、tag、level日志可以打印则返回true;否则返回false。 -**自从:** +**起始版本:** 8 @@ -367,6 +367,6 @@ int OH_LOG_Print (LogType type, LogLevel level, unsigned int domain, const char 大于等于0表示成功;小于0表示失败。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_mind_spore.md b/zh-cn/application-dev/reference/native-apis/_mind_spore.md index 9812ce51e5efdaff2b432b82bab3386f99f698b8..0551f211c23646820e904f241ca520cfc675faa5 100644 --- a/zh-cn/application-dev/reference/native-apis/_mind_spore.md +++ b/zh-cn/application-dev/reference/native-apis/_mind_spore.md @@ -7,7 +7,7 @@ @Syscap SystemCapability.Ai.MindSpore -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_native_vsync.md b/zh-cn/application-dev/reference/native-apis/_native_vsync.md index 08fc54aaca63afcfe998947f82453547e222374a..e62730449f71addc56f910a2028dbc2f2426d0a6 100644 --- a/zh-cn/application-dev/reference/native-apis/_native_vsync.md +++ b/zh-cn/application-dev/reference/native-apis/_native_vsync.md @@ -7,7 +7,7 @@ @syscap SystemCapability.Graphic.Graphic2D.NativeVsync -**自从:** +**起始版本:** 8 @@ -62,7 +62,7 @@ OH_NativeVSync* OH_NativeVSync_Create (const char * name, unsigned int length ) 返回一个指向OH_NativeVSync实例的指针 -**自从:** +**起始版本:** 8 @@ -86,7 +86,7 @@ void OH_NativeVSync_Destroy (OH_NativeVSync * nativeVsync) | -------- | -------- | | nativeVsync | 参数是一个指向OH_NativeVSync实例的指针 | -**自从:** +**起始版本:** 8 @@ -116,6 +116,6 @@ int OH_NativeVSync_RequestFrame (OH_NativeVSync * nativeVsync, OH_NativeVSync_Fr 返回一个由GSError定义的int32_t类型的错误码 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_native_window.md b/zh-cn/application-dev/reference/native-apis/_native_window.md index 489e5615e9057c41e84cba01fd97fcae12907e5e..de4b1ed61ab202945f114dada25062b2ff265e57 100644 --- a/zh-cn/application-dev/reference/native-apis/_native_window.md +++ b/zh-cn/application-dev/reference/native-apis/_native_window.md @@ -7,7 +7,7 @@ \@syscap SystemCapability.Graphic.Graphic2D.NativeWindow -**自从:** +**起始版本:** 8 @@ -184,7 +184,7 @@ OHNativeWindow* OH_NativeWindow_CreateNativeWindow (void * pSurface) 返回一个指针,指向NativeWindow的结构体实例 -**自从:** +**起始版本:** 8 @@ -212,7 +212,7 @@ OHNativeWindowBuffer* OH_NativeWindow_CreateNativeWindowBufferFromSurfaceBuffer 返回一个指针,指向NativeWindowBuffer的结构体实例 -**自从:** +**起始版本:** 8 @@ -236,7 +236,7 @@ void OH_NativeWindow_DestroyNativeWindow (OHNativeWindow * window) | -------- | -------- | | window | 参数是一个NativeWindow的结构体实例的指针 | -**自从:** +**起始版本:** 8 @@ -260,7 +260,7 @@ void OH_NativeWindow_DestroyNativeWindowBuffer (OHNativeWindowBuffer * buffer) | -------- | -------- | | buffer | 参数是一个NativeWindowBuffer的结构体实例的指针 | -**自从:** +**起始版本:** 8 @@ -288,7 +288,7 @@ BufferHandle* OH_NativeWindow_GetBufferHandleFromNative (OHNativeWindowBuffer * BufferHandle 返回一个指针,指向BufferHandle的结构体实例 -**自从:** +**起始版本:** 8 @@ -316,7 +316,7 @@ int32_t OH_NativeWindow_GetNativeObjectMagic (void * obj) MagicId 返回值为魔鬼数字,每个NativeObject唯一 -**自从:** +**起始版本:** 8 @@ -344,7 +344,7 @@ int32_t OH_NativeWindow_NativeObjectReference (void * obj) GSError 返回值为错误码 -**自从:** +**起始版本:** 8 @@ -372,7 +372,7 @@ int32_t OH_NativeWindow_NativeObjectUnreference (void * obj) GSError 返回值为错误码 -**自从:** +**起始版本:** 8 @@ -401,7 +401,7 @@ int32_t OH_NativeWindow_NativeWindowAbortBuffer (OHNativeWindow * window, OHNati GSError 返回值为错误码 -**自从:** +**起始版本:** 8 @@ -432,7 +432,7 @@ int32_t OH_NativeWindow_NativeWindowFlushBuffer (OHNativeWindow * window, OHNati GSError 返回值为错误码 -**自从:** +**起始版本:** 8 @@ -462,7 +462,7 @@ int32_t OH_NativeWindow_NativeWindowHandleOpt (OHNativeWindow * window, int code GSError 返回值为错误码 -**自从:** +**起始版本:** 8 @@ -492,7 +492,7 @@ int32_t OH_NativeWindow_NativeWindowRequestBuffer (OHNativeWindow * window, OHNa GSError 返回值为错误码 -**自从:** +**起始版本:** 8 @@ -523,7 +523,7 @@ int32_t OH_NativeWindow_NativeWindowSetMetaData (OHNativeWindow * window, uint32 GSError 返回值为错误码 -**自从:** +**起始版本:** 9 @@ -555,7 +555,7 @@ int32_t OH_NativeWindow_NativeWindowSetMetaDataSet (OHNativeWindow * window, uin GSError 返回值为错误码 -**自从:** +**起始版本:** 9 @@ -585,7 +585,7 @@ int32_t OH_NativeWindow_NativeWindowSetScalingMode (OHNativeWindow * window, uin GSError 返回值为错误码 -**自从:** +**起始版本:** 9 @@ -614,6 +614,6 @@ int32_t OH_NativeWindow_NativeWindowSetTunnelHandle (OHNativeWindow * window, co GSError 返回值为错误码 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___a_i___call_back_param.md b/zh-cn/application-dev/reference/native-apis/_o_h___a_i___call_back_param.md index 9572e0c292919053e7aa036a8ce3311f81d0a17d..5a0215f1a101c8207745ea0843c8f81d6679a5fb 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___a_i___call_back_param.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___a_i___call_back_param.md @@ -5,7 +5,7 @@ 回调函数中传入的算子信息。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___a_i___shape_info.md b/zh-cn/application-dev/reference/native-apis/_o_h___a_i___shape_info.md index e4a1a1da154d2e335fd4c4a50fc3290b6c6901f4..469ff83eae425afb0a03e80e6bae11a0bf13b1f9 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___a_i___shape_info.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___a_i___shape_info.md @@ -5,7 +5,7 @@ 维度信息,最大的维度为MS_MAX_SHAPE_NUM。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___a_i___tensor_handle_array.md b/zh-cn/application-dev/reference/native-apis/_o_h___a_i___tensor_handle_array.md index b6999b75fdadba53588176ec8e5d8667dbe891e7..ed5e5b6824b46e557586c389b2cfa518592c09b2 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___a_i___tensor_handle_array.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___a_i___tensor_handle_array.md @@ -5,7 +5,7 @@ 张量数组结构体,用于存储张量数组指针和张量数组长度。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_async_callback.md b/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_async_callback.md index 40ee60a6f27a2b5c43017bb7144013fa58a370d2..e3a23ae49aeee2e7af9ae1cd57b3be47be64ae72 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_async_callback.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_async_callback.md @@ -7,10 +7,9 @@ AVCodec所有的异步回调函数指针集合。注册一个该结构体实例 @syscap SystemCapability.Multimedia.Media.CodecBase 参数 -**Since:** +**起始版本:** 9 -**Version:** -1.0 + **相关模块:** [CodecBase](_codec_base.md) diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_buffer_attr.md b/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_buffer_attr.md index 967a2f545aa481f69218c07f84b53411b3e97eac..afb9dcbda4d2cb0d827ecd14229e00b82d1e2658 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_buffer_attr.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___a_v_codec_buffer_attr.md @@ -7,10 +7,9 @@ @syscap SystemCapability.Multimedia.Media.CodecBase -**Since:** +**起始版本:** 9 -**Version:** -1.0 + **相关模块:** [CodecBase](_codec_base.md) diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md b/zh-cn/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md index fdfba39de3ff0fcd601a389700ab86a09ba93788..3b7e1dcb5e0d3f10a21ceb28f8c75e110cc6bd04 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md @@ -5,7 +5,7 @@ 结构体用于描述位图像素的格式,包括颜色类型和透明度类型 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer.md index 42f48deda91d5a7f547862abbec2b26c0e09298d..9e7ea9a7493a1d067dfd3d0ea0ebc393fb7bba21 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer.md @@ -7,7 +7,7 @@ @syscap SystemCapability.Graphic.Graphic2D.OH_NativeBuffer -**自从:** +**起始版本:** 9 @@ -72,7 +72,7 @@ OH_NativeBuffer* OH_NativeBuffer_Alloc (const OH_NativeBuffer_Config * config) 创建成功则返回一个指向OH_NativeBuffer结构体实例的指针,否则返回NULL -**自从:** +**起始版本:** 9 @@ -97,7 +97,7 @@ void OH_NativeBuffer_GetConfig (OH_NativeBuffer * buffer, OH_NativeBuffer_Config | buffer | 参数是一个指向OH_NativeBuffer实例的指针 | | config | 参数是一个指向OH_NativeBuffer_Config的指针,用于接收OH_NativeBuffer的属性 | -**自从:** +**起始版本:** 9 @@ -125,7 +125,7 @@ uint32_t OH_NativeBuffer_GetSeqNum (OH_NativeBuffer * buffer) 返回对应OH_NativeBuffer的唯一序列号 -**自从:** +**起始版本:** 9 @@ -154,7 +154,7 @@ int32_t OH_NativeBuffer_Map (OH_NativeBuffer * buffer, void ** virAddr ) 返回一个由GSError定义的int32_t类型的错误码 -**自从:** +**起始版本:** 9 @@ -182,7 +182,7 @@ int32_t OH_NativeBuffer_Reference (OH_NativeBuffer * buffer) 返回一个由GSError定义的int32_t类型的错误码 -**自从:** +**起始版本:** 9 @@ -210,7 +210,7 @@ int32_t OH_NativeBuffer_Unmap (OH_NativeBuffer * buffer) 返回一个由GSError定义的int32_t类型的错误码 -**自从:** +**起始版本:** 9 @@ -238,6 +238,6 @@ int32_t OH_NativeBuffer_Unreference (OH_NativeBuffer * buffer) 返回一个由GSError定义的int32_t类型的错误码 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer___config.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer___config.md index 10342ee5289cbf250746fe1344e7e33d67fb1ba3..72e675e7712fa1213cb5c6897995005d5a73add8 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer___config.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_buffer___config.md @@ -5,7 +5,7 @@ OH_NativeBuffer的属性配置,用于申请新的OH_NativeBuffer实例或查询现有实例的相关属性。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_image.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_image.md index 5b9096d96d95878e03b40b07b17893fb1243a000..3a44d24db9aac58700039f5bbf045302f3a89960 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_image.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_image.md @@ -7,7 +7,7 @@ @syscap SystemCapability.Graphic.Graphic2D.OH_NativeImage -**自从:** +**起始版本:** 9 @@ -60,13 +60,13 @@ OHNativeWindow* OH_NativeImage_AcquireNativeWindow (OH_NativeImage * image) | Name | 描述 | | -------- | -------- | -| image | 指向<b>OH_NativeImage</b>实例的指针。 | +| image | 指向OH_NativeImage实例的指针。 | **返回:** 成功则返回一个指向OHNativeWindow实例的指针,否则返回**NULL**。 -**自从:** +**起始版本:** 9 @@ -95,7 +95,7 @@ int32_t OH_NativeImage_AttachContext (OH_NativeImage * image, uint32_t textureId 返回一个由**SurfaceError**定义的int32_t类型的错误码。 -**自从:** +**起始版本:** 9 @@ -124,7 +124,7 @@ OH_NativeImage* OH_NativeImage_Create (uint32_t textureId, uint32_t textureTarge 返回一个指向**OH_NativeImage**实例的指针,否则返回**NULL**。 -**自从:** +**起始版本:** 9 @@ -172,7 +172,7 @@ int32_t OH_NativeImage_DetachContext (OH_NativeImage * image) 返回一个由**SurfaceError**定义的int32_t类型的错误码。 -**自从:** +**起始版本:** 9 @@ -200,7 +200,7 @@ int64_t OH_NativeImage_GetTimestamp (OH_NativeImage * image) 返回纹理图像的相关时间戳。 -**自从:** +**起始版本:** 9 @@ -229,7 +229,7 @@ int32_t OH_NativeImage_GetTransformMatrix (OH_NativeImage * image, float matrix[ 返回一个由**SurfaceError**定义的int32_t类型的错误码。 -**自从:** +**起始版本:** 9 @@ -257,6 +257,6 @@ int32_t OH_NativeImage_UpdateSurfaceImage (OH_NativeImage * image) 返回一个由**SurfaceError**定义的int32_t类型的错误码。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component.md index 7a492815879712ae06a715b69ffdfda2871befa7..fffd2abf32ac3f80dfc1dd808b2933a1a91ac345 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component.md @@ -3,7 +3,7 @@ 描述ArkUI XComponent持有的surface和触摸事件,该事件可用于EGL/OpenGLES和媒体数据输入,并显示在ArkUI XComponent上。 -**自从:** +**起始版本:** 8 @@ -122,7 +122,7 @@ typedef struct OH_NativeXComponent OH_NativeXComponent 提供封装的OH_NativeXComponent实例。 -**自从:** +**起始版本:** 8 @@ -138,7 +138,7 @@ typedef struct OH_NativeXComponent_Callback OH_NativeXComponent_Callback 注册surface生命周期和触摸事件回调。 -**自从:** +**起始版本:** 8 @@ -154,7 +154,7 @@ typedef struct OH_NativeXComponent_MouseEvent_Callback OH_NativeXComponent_Mouse 注册鼠标事件的回调。 -**自从:** +**起始版本:** 9 @@ -178,10 +178,8 @@ anonymous enum | OH_NATIVEXCOMPONENT_RESULT_SUCCESS | 成功结果。 | | OH_NATIVEXCOMPONENT_RESULT_FAILED | 失败结果。 | | OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER | 无效参数。 | -| OHOS_IMAGE_RESULT_SUCCESS | 成功的结果 | -| OHOS_IMAGE_RESULT_BAD_PARAMETER | 无效值 | -**自从:** +**起始版本:** 8 @@ -204,7 +202,7 @@ enum OH_NativeXComponent_MouseEventAction | OH_NATIVEXCOMPONENT_MOUSE_RELEASE | 鼠标按键松开时触发鼠标事件。 | | OH_NATIVEXCOMPONENT_MOUSE_MOVE | 鼠标在屏幕上移动时触发鼠标事件。 | -**自从:** +**起始版本:** 9 @@ -229,7 +227,7 @@ enum OH_NativeXComponent_MouseEventButton | OH_NATIVEXCOMPONENT_BACK_BUTTON | 按下鼠标左侧后退键时触发鼠标事件。 | | OH_NATIVEXCOMPONENT_FORWARD_BUTTON | 按下鼠标左侧前进键时触发鼠标事件。 | -**自从:** +**起始版本:** 9 @@ -253,7 +251,7 @@ enum OH_NativeXComponent_TouchEventType | OH_NATIVEXCOMPONENT_CANCEL | 触摸事件取消时触发事件。 | | OH_NATIVEXCOMPONENT_UNKNOWN | 无效的触摸类型。 | -**自从:** +**起始版本:** 8 @@ -284,7 +282,7 @@ int32_t OH_NativeXComponent_GetMouseEvent (OH_NativeXComponent * component, cons 返回执行的状态代码。 -**自从:** +**起始版本:** 9 @@ -312,7 +310,7 @@ int32_t OH_NativeXComponent_GetTouchEvent (OH_NativeXComponent * component, cons 返回执行的状态代码。 -**自从:** +**起始版本:** 8 @@ -340,7 +338,7 @@ int32_t OH_NativeXComponent_GetXComponentId (OH_NativeXComponent * component, ch 返回执行的状态代码。 -**自从:** +**起始版本:** 8 @@ -369,7 +367,7 @@ int32_t OH_NativeXComponent_GetXComponentOffset (OH_NativeXComponent * component 返回执行的状态代码。 -**自从:** +**起始版本:** 8 @@ -398,7 +396,7 @@ int32_t OH_NativeXComponent_GetXComponentSize (OH_NativeXComponent * component, 返回执行的状态代码。 -**自从:** +**起始版本:** 8 @@ -425,7 +423,7 @@ int32_t OH_NativeXComponent_RegisterCallback (OH_NativeXComponent * component, O 返回执行的状态代码。 -**自从:** +**起始版本:** 8 @@ -452,7 +450,7 @@ int32_t OH_NativeXComponent_RegisterMouseEventCallback (OH_NativeXComponent * co 返回执行的状态代码。 -**自从:** +**起始版本:** 9 @@ -471,7 +469,7 @@ const uint32_t OH_XCOMPONENT_ID_LEN_MAX = 128 ArkUI XComponent的id最大长度。 -**自从:** +**起始版本:** 8 @@ -487,7 +485,7 @@ const uint32_t OH_MAX_TOUCH_POINTS_NUMBER = 10 触摸事件中的可识别的触摸点个数最大值。 -**自从:** +**起始版本:** 8 @@ -503,7 +501,7 @@ OH_NativeXComponent_MouseEventAction OH_NativeXComponent_MouseEvent::action 当前鼠标事件动作。 -**自从:** +**起始版本:** 8 @@ -519,7 +517,7 @@ OH_NativeXComponent_MouseEventButton OH_NativeXComponent_MouseEvent::button 鼠标事件按键 -**自从:** +**起始版本:** 8 @@ -535,7 +533,7 @@ int64_t OH_NativeXComponent_TouchEvent::deviceId = 0 产生当前触摸事件的设备的ID。 -**自从:** +**起始版本:** 8 @@ -551,7 +549,7 @@ void(* OH_NativeXComponent_MouseEvent_Callback::DispatchHoverEvent) (OH_NativeXC 当悬停事件被触发时调用。 -**自从:** +**起始版本:** 8 @@ -567,7 +565,7 @@ void(* OH_NativeXComponent_MouseEvent_Callback::DispatchMouseEvent) (OH_NativeXC 当鼠标事件被触发时调用。 -**自从:** +**起始版本:** 8 @@ -583,7 +581,7 @@ void(* OH_NativeXComponent_Callback::DispatchTouchEvent) (OH_NativeXComponent *c 当触摸事件被触发时调用。 -**自从:** +**起始版本:** 8 @@ -599,7 +597,7 @@ float OH_NativeXComponent_TouchPoint::force = 0.0 当前触摸事件的压力。 -**自从:** +**起始版本:** 8 @@ -615,7 +613,7 @@ float OH_NativeXComponent_TouchEvent::force = 0.0 当前触摸事件的压力。 -**自从:** +**起始版本:** 8 @@ -631,7 +629,7 @@ int32_t OH_NativeXComponent_TouchPoint::id = 0 手指的唯一标识符。 -**自从:** +**起始版本:** 8 @@ -647,7 +645,7 @@ int32_t OH_NativeXComponent_TouchEvent::id = 0 手指的唯一标识符。 -**自从:** +**起始版本:** 8 @@ -663,7 +661,7 @@ bool OH_NativeXComponent_TouchPoint::isPressed = false 当前点是否被按下。 -**自从:** +**起始版本:** 8 @@ -679,7 +677,7 @@ uint32_t OH_NativeXComponent_TouchEvent::numPoints = 0 当前接触点的数量。 -**自从:** +**起始版本:** 8 @@ -695,7 +693,7 @@ void(* OH_NativeXComponent_Callback::OnSurfaceChanged) (OH_NativeXComponent *com 当surface改变时调用。 -**自从:** +**起始版本:** 8 @@ -711,7 +709,7 @@ void(* OH_NativeXComponent_Callback::OnSurfaceCreated) (OH_NativeXComponent *com 创建surface时调用。 -**自从:** +**起始版本:** 8 @@ -727,7 +725,7 @@ void(* OH_NativeXComponent_Callback::OnSurfaceDestroyed) (OH_NativeXComponent *c 当surface被销毁时调用。 -**自从:** +**起始版本:** 8 @@ -743,7 +741,7 @@ float OH_NativeXComponent_TouchPoint::screenX = 0.0 触摸点相对于屏幕左边缘的x坐标。 -**自从:** +**起始版本:** 8 @@ -759,7 +757,7 @@ float OH_NativeXComponent_TouchEvent::screenX = 0.0 触摸点相对于屏幕左边缘的x坐标。 -**自从:** +**起始版本:** 8 @@ -775,7 +773,7 @@ float OH_NativeXComponent_MouseEvent::screenX 点击触点相对于屏幕左上角的x轴坐标。 -**自从:** +**起始版本:** 8 @@ -791,7 +789,7 @@ float OH_NativeXComponent_TouchPoint::screenY = 0.0 触摸点相对于屏幕上边缘的y坐标。 -**自从:** +**起始版本:** 8 @@ -807,7 +805,7 @@ float OH_NativeXComponent_TouchEvent::screenY = 0.0 触摸点相对于屏幕上边缘的y坐标。 -**自从:** +**起始版本:** 8 @@ -823,7 +821,7 @@ float OH_NativeXComponent_MouseEvent::screenY 点击触点相对于屏幕左上角的y轴坐标。 -**自从:** +**起始版本:** 8 @@ -839,7 +837,7 @@ double OH_NativeXComponent_TouchPoint::size = 0.0 指垫和屏幕之间的接触面积。 -**自从:** +**起始版本:** 8 @@ -855,7 +853,7 @@ double OH_NativeXComponent_TouchEvent::size = 0.0 指垫和屏幕之间的接触面积。 -**自从:** +**起始版本:** 8 @@ -871,7 +869,7 @@ long long OH_NativeXComponent_TouchPoint::timeStamp = 0 当前触摸事件的时间戳。 -**自从:** +**起始版本:** 8 @@ -887,7 +885,7 @@ long long OH_NativeXComponent_TouchEvent::timeStamp = 0 当前触摸事件的时间戳。 -**自从:** +**起始版本:** 8 @@ -903,7 +901,7 @@ int64_t OH_NativeXComponent_MouseEvent::timestamp 当前鼠标事件的时间戳 -**自从:** +**起始版本:** 8 @@ -919,7 +917,7 @@ OH_NativeXComponent_TouchPoint OH_NativeXComponent_TouchEvent::touchPoints[OH_MA 当前触摸点的数组。 -**自从:** +**起始版本:** 8 @@ -935,7 +933,7 @@ OH_NativeXComponent_TouchEventType OH_NativeXComponent_TouchPoint::type = OH_Nat 触摸事件的触摸类型。 -**自从:** +**起始版本:** 8 @@ -951,7 +949,7 @@ OH_NativeXComponent_TouchEventType OH_NativeXComponent_TouchEvent::type = OH_Nat 触摸事件的触摸类型。 -**自从:** +**起始版本:** 8 @@ -967,7 +965,7 @@ float OH_NativeXComponent_TouchPoint::x = 0.0 触摸点相对于XComponent组件左边缘的x坐标。 -**自从:** +**起始版本:** 8 @@ -983,7 +981,7 @@ float OH_NativeXComponent_TouchEvent::x = 0.0 触摸点相对于XComponent组件左边缘的x坐标。 -**自从:** +**起始版本:** 8 @@ -999,7 +997,7 @@ float OH_NativeXComponent_MouseEvent::x 点击触点相对于当前组件左上角的x轴坐标。 -**自从:** +**起始版本:** 8 @@ -1015,7 +1013,7 @@ float OH_NativeXComponent_TouchPoint::y = 0.0 触摸点相对于XComponent组件上边缘的y坐标。 -**自从:** +**起始版本:** 8 @@ -1031,7 +1029,7 @@ float OH_NativeXComponent_TouchEvent::y = 0.0 触摸点相对于XComponent组件上边缘的y坐标。 -**自从:** +**起始版本:** 8 @@ -1047,6 +1045,6 @@ float OH_NativeXComponent_MouseEvent::y 点击触点相对于当前组件左上角的y轴坐标。 -**自从:** +**起始版本:** 8 \ No newline at end of file diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___callback.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___callback.md index b68751dda8628b8b47f3ddd4945f6d9e2b390c5d..84b374e8521669a5124564801872909e68ec896d 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___callback.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___callback.md @@ -5,7 +5,7 @@ 注册surface生命周期和触摸事件回调。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event.md index 4e43c62798df7b75e7e622c96033065ca71e6b3c..b046d76de2c0c98161fb5795dca4d2a4e1e2a46b 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event.md @@ -5,7 +5,7 @@ 鼠标事件。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event___callback.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event___callback.md index a8192ff855bc9d96f615aac856fa5b1aa37e97dd..b30d1183ba2ff64cd00e74f4f8da209d51073279 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event___callback.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___mouse_event___callback.md @@ -5,7 +5,7 @@ 注册鼠标事件的回调。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_event.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_event.md index e213f61d5e5025ec32b4fe6254646f66524dbf64..2907636f13dee69f0a85ff8d6135af9eb3c429f9 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_event.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_event.md @@ -5,7 +5,7 @@ 触摸事件。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_point.md b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_point.md index a16bb692701dff8c0583171ae9a5588996f388e9..462f272c615f148d40a8caa59638abef3e123a8a 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_point.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h___native_x_component___touch_point.md @@ -5,7 +5,7 @@ 触摸事件中触摸点的信息。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_callback.md b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_callback.md index 334288527bd6ac67f8a8d1cdc177ee97cac1a4c2..f29d9b05ccac47581821d2a3df2a31e1539c73f5 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_callback.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_callback.md @@ -5,10 +5,8 @@ 定义AVSession回调类的实现 -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_manager.md b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_manager.md index b4c12aae829b192c2aec8b33945870e831887c2f..1b6f5216da599120e71d5f906623c6de38e086c6 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_manager.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_a_v_session_manager.md @@ -5,10 +5,8 @@ 实现会话管理器对外接口功能的类的实现。 -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_output_device_info.md b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_output_device_info.md index 971babf6930164449f3c8651ea8eb940d11f95df..f1aa54fa9b1c1cbdfa2b11c8784c1a57f39cd858 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_output_device_info.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_output_device_info.md @@ -5,10 +5,9 @@ 描述分布式设备的相关信息。 -**Since:** +**起始版本:** 9 -**Version:** -1.0 + **相关模块:** [Avsession](avsession.md) diff --git a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_listener.md b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_listener.md index 9fb407a233510614c121ee465eb94a836c3807d7..f4d8988dc3c18cd766cc620d959a030ad713fcc8 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_listener.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_listener.md @@ -5,10 +5,8 @@ 定义与AVSession相关监听器的类的实现。 -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_token.md b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_token.md index a0b7eae295d926f591f5c76c1183a66bc5f446e8..66fe6a463ad9f777da6702d8be1081f9769608ed 100644 --- a/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_token.md +++ b/zh-cn/application-dev/reference/native-apis/_o_h_o_s_1_1_a_v_session_1_1_session_token.md @@ -5,10 +5,8 @@ 会话令牌的信息。 -**Since:** +**起始版本:** 9 -**Version:** -1.0 ## 汇总 diff --git a/zh-cn/application-dev/reference/native-apis/_ohos_pixel_map_info.md b/zh-cn/application-dev/reference/native-apis/_ohos_pixel_map_info.md index 72e9f6252822650952e54a946fb5d8ced2e41b2d..fcce8eaa40a6b08002d09bfdde617cd87d12b167 100644 --- a/zh-cn/application-dev/reference/native-apis/_ohos_pixel_map_info.md +++ b/zh-cn/application-dev/reference/native-apis/_ohos_pixel_map_info.md @@ -5,7 +5,7 @@ 用于定义 pixel map 的相关信息。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md b/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md index 3364447f8b1375f3e6b739d2ba623bfee77eb462..e17e718b1f90996e4ee415bc35aed5223aa862d3 100644 --- a/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md +++ b/zh-cn/application-dev/reference/native-apis/_raw_file_descriptor.md @@ -7,7 +7,7 @@ RawFileDescriptor是[OH_ResourceManager_GetRawFileDescriptor()](rawfile.md#oh_resourcemanager_getrawfiledescriptor)的输出参数,涵盖了rawfile文件的文件描述符以及在HAP中的起始位置和长度。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/_video_decoder.md b/zh-cn/application-dev/reference/native-apis/_video_decoder.md index a5b1f9f8ed44f68ea530c7cf04380eb04f4e9f44..b66b206536b6476435b118d3c7a44ceee9d5df8c 100644 --- a/zh-cn/application-dev/reference/native-apis/_video_decoder.md +++ b/zh-cn/application-dev/reference/native-apis/_video_decoder.md @@ -7,7 +7,7 @@ VideoDecoder模块提供用于视频解码功能的函数。 @syscap SystemCapability.Multimedia.Media.VideoDecoder -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/_video_encoder.md b/zh-cn/application-dev/reference/native-apis/_video_encoder.md index 2ba39e6fdee3bb1e4ec71f8fd672b0ecb33d025a..fe5f834ca68ef1d9d04fdc647f346aa801bb5fa6 100644 --- a/zh-cn/application-dev/reference/native-apis/_video_encoder.md +++ b/zh-cn/application-dev/reference/native-apis/_video_encoder.md @@ -7,7 +7,7 @@ VideoEncoder模块提供用于视频编码功能的函数和枚举。 @syscap SystemCapability.Multimedia.Media.VideoEncoder -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/av__session_8h.md b/zh-cn/application-dev/reference/native-apis/av__session_8h.md index e908100fe46e543251739f042219b870740c3c2c..d66bfd2434a958ece2a0171b06a6e3c5ba1a51aa 100644 --- a/zh-cn/application-dev/reference/native-apis/av__session_8h.md +++ b/zh-cn/application-dev/reference/native-apis/av__session_8h.md @@ -5,7 +5,7 @@ 会话的设置、获取等声明。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avcontrol__command_8h.md b/zh-cn/application-dev/reference/native-apis/avcontrol__command_8h.md index f8cc0b9f9d42295e1440833071c8e9e6b4d627c3..4cc45e90195352c11b2722f781b4476bcf83ea65 100644 --- a/zh-cn/application-dev/reference/native-apis/avcontrol__command_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avcontrol__command_8h.md @@ -5,7 +5,7 @@ 音视频控制指令的设置、获取、拷贝等声明。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avmeta__data_8h.md b/zh-cn/application-dev/reference/native-apis/avmeta__data_8h.md index 957d44d24c2739b41ac4b1f5cc98876281430179..bbaa050e9c59a64eb3fd0c30067e4cc7be2c80bb 100644 --- a/zh-cn/application-dev/reference/native-apis/avmeta__data_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avmeta__data_8h.md @@ -5,7 +5,7 @@ 会话元数据设置、获取、拷贝等接口声明。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avplayback__state_8h.md b/zh-cn/application-dev/reference/native-apis/avplayback__state_8h.md index 2a62e921e79d643a1b4560b0ad2bf72212d3d4db..d8099b9ab12636559ebab1aae8630eb9f6d1b711 100644 --- a/zh-cn/application-dev/reference/native-apis/avplayback__state_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avplayback__state_8h.md @@ -5,7 +5,7 @@ 音视频播放状态声明。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avsession.md b/zh-cn/application-dev/reference/native-apis/avsession.md index b30ac7ab72da3f28b3d5fee01f5f5c2e100a25cb..95409373aa19c84cd89fd64f50237a0a5764d81d 100644 --- a/zh-cn/application-dev/reference/native-apis/avsession.md +++ b/zh-cn/application-dev/reference/native-apis/avsession.md @@ -9,7 +9,7 @@ @syscap SystemCapability.Multimedia.AVSession.Core -**Since:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/avsession__controller_8h.md b/zh-cn/application-dev/reference/native-apis/avsession__controller_8h.md index 6a1b06aa8e1740e7fc52f029c1e8fa59247e2906..38446db715f86441463b6268a9edbaa1ae63513f 100644 --- a/zh-cn/application-dev/reference/native-apis/avsession__controller_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avsession__controller_8h.md @@ -5,7 +5,7 @@ 控制器对象的描述,可获取会话的播放状态和会话元数据,远程发送控制命令到会话端也可以通过订阅监听会话段的更新事件。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avsession__descriptor_8h.md b/zh-cn/application-dev/reference/native-apis/avsession__descriptor_8h.md index e563c140ba298bdf2633b5492b95b35b7f02f001..73c87d3892d2ed4e725e9121a1ae33e7c9425884 100644 --- a/zh-cn/application-dev/reference/native-apis/avsession__descriptor_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avsession__descriptor_8h.md @@ -5,7 +5,7 @@ 会话的相关描述信息。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avsession__errors_8h.md b/zh-cn/application-dev/reference/native-apis/avsession__errors_8h.md index 6f1ed54b1539c849e0ccbda9310df9c55e87eed9..649a7edbf861e84e6f78714537e881085549686d 100644 --- a/zh-cn/application-dev/reference/native-apis/avsession__errors_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avsession__errors_8h.md @@ -5,7 +5,7 @@ 定义了avsession错误码。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avsession__info_8h.md b/zh-cn/application-dev/reference/native-apis/avsession__info_8h.md index 6a557b7d385140bed174ff4da5f808046c00409d..5d2eda467fc5949921b3942c5282c0073c4aafda 100644 --- a/zh-cn/application-dev/reference/native-apis/avsession__info_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avsession__info_8h.md @@ -5,7 +5,7 @@ 定义了与avsession相关的监听器以及回调功能的实现。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avsession__manager_8h.md b/zh-cn/application-dev/reference/native-apis/avsession__manager_8h.md index 7b2ebbd07e351368fe938453be904b5f56181319..86b408d3bbe022b581e4cd76d4d4b263a9be4069 100644 --- a/zh-cn/application-dev/reference/native-apis/avsession__manager_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avsession__manager_8h.md @@ -5,7 +5,7 @@ 定义了会话管理器对外接口的功能的实现。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/avsession__pixel__map_8h.md b/zh-cn/application-dev/reference/native-apis/avsession__pixel__map_8h.md index 8d5d6f7dad1a7aac3bd8908ed4d5ef32f47088c3..0843e8fad66b4c434773b76b23c364399b5068ae 100644 --- a/zh-cn/application-dev/reference/native-apis/avsession__pixel__map_8h.md +++ b/zh-cn/application-dev/reference/native-apis/avsession__pixel__map_8h.md @@ -5,7 +5,7 @@ 读取、设置图片及图片信息。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/context_8h.md b/zh-cn/application-dev/reference/native-apis/context_8h.md index 65a629a526bf12d6d37c7591cbadc2cf114ab8ce..cb2696d67d30a7a14ec0a976d08062c1c92b5536 100644 --- a/zh-cn/application-dev/reference/native-apis/context_8h.md +++ b/zh-cn/application-dev/reference/native-apis/context_8h.md @@ -5,7 +5,7 @@ 提供了Context相关的接口,可以配置运行时信息。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/data__type_8h.md b/zh-cn/application-dev/reference/native-apis/data__type_8h.md index dab395553e993750cef8c932b3c133feddb41087..71ff1dacd1232b1aeac1c2fda397c98b128ceed2 100644 --- a/zh-cn/application-dev/reference/native-apis/data__type_8h.md +++ b/zh-cn/application-dev/reference/native-apis/data__type_8h.md @@ -5,7 +5,7 @@ 声明了张量的数据的类型。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__bitmap_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__bitmap_8h.md index a600f65972ccdeb01a2627097afbff1408c4034d..ae34ec9d79f5a0296e349cfb233df2ea279fafb6 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__bitmap_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__bitmap_8h.md @@ -5,7 +5,7 @@ 文件中定义了与位图相关的功能函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__brush_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__brush_8h.md index 4b852f041bef55d3a6de05eca95d6c6b54f51069..569ccc154bb2a259b735c6434256193dc4213d9c 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__brush_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__brush_8h.md @@ -5,7 +5,7 @@ 文件中定义了与画刷相关的功能函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__canvas_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__canvas_8h.md index a5383fdc03f96465947862b15e356c35c95f4b02..14221e0694cc5faa5be359aba293320e366592d1 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__canvas_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__canvas_8h.md @@ -5,7 +5,7 @@ 文件中定义了与画布相关的功能函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__color_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__color_8h.md index 6dee765d24bb2272a0ccd784a5f6ec5184fae215..dd1a45cc332a792813cd7665422fd3994da68a90 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__color_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__color_8h.md @@ -5,7 +5,7 @@ 文件中定义了与颜色相关的功能函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__font__collection_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__font__collection_8h.md index 6d18482ee179277bf2d432f37238284b6dff8e39..6e897ce90e554cd90cdeed3d0948c2d5313ea8e1 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__font__collection_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__font__collection_8h.md @@ -5,7 +5,7 @@ 定义绘制模块中与fontCollection相关的函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__path_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__path_8h.md index e8bae392c7073942be180aae7d38f3ca241e2a6d..5436ab24a94306cdb345f4a3a1cbc817c7191b38 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__path_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__path_8h.md @@ -5,7 +5,7 @@ 文件中定义了与自定义路径相关的功能函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__pen_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__pen_8h.md index a6eb94092e1052dd1fba9d399be406bda20895eb..49b7cc0815eaca9678591aa32e6b4f1be73d44cb 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__pen_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__pen_8h.md @@ -5,7 +5,7 @@ 文件中定义了与画笔相关的功能函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__text__declaration_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__text__declaration_8h.md index e75c8bef3d4eeb2ba479dae634ecc629bae4d489..3a6f1b420a1f52e35b7d2c35fc1508f4f3924e61 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__text__declaration_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__text__declaration_8h.md @@ -5,7 +5,7 @@ 提供2d drawing文本相关的数据结构声明。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__text__typography_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__text__typography_8h.md index 1acfce63d823b0bb39d9268d1800c0b011cde02e..df9ffa315784eb0f24344ec82a300446547048ff 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__text__typography_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__text__typography_8h.md @@ -5,7 +5,7 @@ 定义绘制模块中排版相关的函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/drawing__types_8h.md b/zh-cn/application-dev/reference/native-apis/drawing__types_8h.md index cbf626910e94c5eb4542fae171449b72e4feddb8..af740d12018cd3bc27f77514382721a590e20eab 100644 --- a/zh-cn/application-dev/reference/native-apis/drawing__types_8h.md +++ b/zh-cn/application-dev/reference/native-apis/drawing__types_8h.md @@ -5,7 +5,7 @@ 文件中定义了用于绘制2d图形的数据类型,包括画布、画笔、画刷、位图和路径。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/external__window_8h.md b/zh-cn/application-dev/reference/native-apis/external__window_8h.md index fe89b38b633ed2afeb43988967a5fe6793f31c2d..94fcbf3d1c1bc148d9c55c43ceba6e67a736779c 100644 --- a/zh-cn/application-dev/reference/native-apis/external__window_8h.md +++ b/zh-cn/application-dev/reference/native-apis/external__window_8h.md @@ -5,7 +5,7 @@ 定义获取和使用NativeWindow的相关函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/format_8h.md b/zh-cn/application-dev/reference/native-apis/format_8h.md index c066abf72baae153f14b2e9135c5bb540468be1e..3f112e510a3b0cb9b9ba491cbb43c88ce3632442 100644 --- a/zh-cn/application-dev/reference/native-apis/format_8h.md +++ b/zh-cn/application-dev/reference/native-apis/format_8h.md @@ -5,7 +5,7 @@ 提供张量数据的排列格式。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/image.md b/zh-cn/application-dev/reference/native-apis/image.md index 2405cfdd8b030bdd6e2287bcfe26329d9d106cb0..d50f0bbfa2ad11d08451fec84057d2b6d03f1248 100644 --- a/zh-cn/application-dev/reference/native-apis/image.md +++ b/zh-cn/application-dev/reference/native-apis/image.md @@ -7,7 +7,7 @@ @Syscap SystemCapability.Multimedia.Image -**自从:** +**起始版本:** 8 @@ -34,8 +34,8 @@ | 枚举名称 | 描述 | | -------- | -------- | -| { OHOS_IMAGE_RESULT_SUCCESS = 0,
OHOS_IMAGE_RESULT_BAD_PARAMETER = -1 } | 函数方法返回值的错误码的[枚举](#anonymous-enum)。 | -| { OHOS_PIXEL_MAP_FORMAT_NONE = 0,
OHOS_PIXEL_MAP_FORMAT_RGBA_8888 = 3,
OHOS_PIXEL_MAP_FORMAT_RGB_565 = 2 } | pixel 格式的[枚举](#anonymous-enum-1)。 | +| { OHOS_IMAGE_RESULT_SUCCESS = 0,
OHOS_IMAGE_RESULT_BAD_PARAMETER = -1 } | 函数方法返回值的错误码的枚举。 | +| { OHOS_PIXEL_MAP_FORMAT_NONE = 0,
OHOS_PIXEL_MAP_FORMAT_RGBA_8888 = 3,
OHOS_PIXEL_MAP_FORMAT_RGB_565 = 2 } | pixel 格式的枚举。 | ### 函数 @@ -66,13 +66,10 @@ anonymous enum | 枚举值 | 描述 | | -------- | -------- | -| OH_NATIVEXCOMPONENT_RESULT_SUCCESS | 成功结果。 | -| OH_NATIVEXCOMPONENT_RESULT_FAILED | 失败结果。 | -| OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER | 无效参数。 | | OHOS_IMAGE_RESULT_SUCCESS | 成功的结果。 | | OHOS_IMAGE_RESULT_BAD_PARAMETER | 无效值。 | -**自从:** +**起始版本:** 8 @@ -94,7 +91,7 @@ pixel 格式的枚举。 | OHOS_PIXEL_MAP_FORMAT_RGBA_8888 | 32-bit RGBA。由 R, G, B组成,包括 A 都需要占用 8 bits。存储顺序是从高位到低位。 | | OHOS_PIXEL_MAP_FORMAT_RGB_565 | 16-bit RGB。仅由 R, G, B 组成。存储顺序是从高位到低位: 红色占用5 bits,绿色占用6 bits,蓝色占用5 bits。 | -**自从:** +**起始版本:** 8 @@ -131,7 +128,7 @@ int32_t OH_AccessPixels (napi_env env, napi_value value, void ** addrPtr ) 操作成功则返回OHOS_IMAGE_RESULT_SUCCESS; 如果操作失败,则返回错误码。 -**自从:** +**起始版本:** 8 @@ -163,7 +160,7 @@ int32_t OH_GetImageInfo (napi_env env, napi_value value, OhosPixelMapInfo * info [OhosPixelMapInfo](_ohos_pixel_map_info.md) -**自从:** +**起始版本:** 8 @@ -194,6 +191,6 @@ int32_t OH_UnAccessPixels (napi_env env, napi_value value ) AccessPixels -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/image__pixel__map__napi_8h.md b/zh-cn/application-dev/reference/native-apis/image__pixel__map__napi_8h.md index 238b28132f479803995d641db8dd81eb87bcc9eb..d6efe27a6162db598dc55a9be125708b1e710917 100644 --- a/zh-cn/application-dev/reference/native-apis/image__pixel__map__napi_8h.md +++ b/zh-cn/application-dev/reference/native-apis/image__pixel__map__napi_8h.md @@ -5,7 +5,7 @@ 声明可以锁定并访问pixelmap数据的方法,声明解锁的方法。 -**自从:** +**起始版本:** 8 @@ -28,8 +28,8 @@ | 枚举名称 | 描述 | | -------- | -------- | -| { OH_NATIVEXCOMPONENT_RESULT_SUCCESS = 0,
OH_NATIVEXCOMPONENT_RESULT_FAILED = -1,
OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER = -2,
OHOS_IMAGE_RESULT_SUCCESS = 0,
OHOS_IMAGE_RESULT_BAD_PARAMETER = -1 } | 函数方法返回值的错误码的[枚举](image.md#anonymous-enum)。 | -| { OHOS_PIXEL_MAP_FORMAT_NONE = 0,
OHOS_PIXEL_MAP_FORMAT_RGBA_8888 = 3,
OHOS_PIXEL_MAP_FORMAT_RGB_565 = 2 } | pixel 格式的[枚举](image.md#anonymous-enum-1)。 | +| { OHOS_IMAGE_RESULT_SUCCESS = 0,
OHOS_IMAGE_RESULT_BAD_PARAMETER = -1 } | 函数方法返回值的错误码的枚举。 | +| { OHOS_PIXEL_MAP_FORMAT_NONE = 0,
OHOS_PIXEL_MAP_FORMAT_RGBA_8888 = 3,
OHOS_PIXEL_MAP_FORMAT_RGB_565 = 2 } | pixel 格式的枚举。 | ### 函数 diff --git a/zh-cn/application-dev/reference/native-apis/log_8h.md b/zh-cn/application-dev/reference/native-apis/log_8h.md index 5c24372e04d02df296b1d7bcef844611ae3781b3..3ee4fe180aaf65daacf6b41257995f2c50633343 100644 --- a/zh-cn/application-dev/reference/native-apis/log_8h.md +++ b/zh-cn/application-dev/reference/native-apis/log_8h.md @@ -43,7 +43,7 @@ HILOG_WARN(LOG_APP, "Failed to visit %{private}s, reason:%{public}d.", url, errn 05-06 15:01:06.870 1051 1051 W 0201/MY_TAG: Failed to visit , reason:503. ``` -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/model_8h.md b/zh-cn/application-dev/reference/native-apis/model_8h.md index 4c594004683214fd9fc29a0a0185a3883fc19c5e..cc40752409841b6a906fe7290b77a34f2947edb6 100644 --- a/zh-cn/application-dev/reference/native-apis/model_8h.md +++ b/zh-cn/application-dev/reference/native-apis/model_8h.md @@ -5,7 +5,7 @@ 提供了模型相关接口,可以用于模型创建、模型推理等。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/native__avcodec__audiodecoder_8h.md b/zh-cn/application-dev/reference/native-apis/native__avcodec__audiodecoder_8h.md index 372e9ea1c95bd30792f40f4a542c6cb56de96867..65f00492a5286a8245f218a97f23087ea4a40ffa 100644 --- a/zh-cn/application-dev/reference/native-apis/native__avcodec__audiodecoder_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__avcodec__audiodecoder_8h.md @@ -5,7 +5,7 @@ 声明用于音频解码的Native API。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__avcodec__audioencoder_8h.md b/zh-cn/application-dev/reference/native-apis/native__avcodec__audioencoder_8h.md index 80e6048b45a42b9f82d194525a0963132358022b..12d8a23c6b2c0d44999ebd85107e87ff5a664b8c 100644 --- a/zh-cn/application-dev/reference/native-apis/native__avcodec__audioencoder_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__avcodec__audioencoder_8h.md @@ -5,7 +5,7 @@ 声明用于音频编码的Native API。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__avcodec__base_8h.md b/zh-cn/application-dev/reference/native-apis/native__avcodec__base_8h.md index 3bf1d9f0890141e6995ac0a70e86195ef83ee295..524596790b0692c2ecc13932f83917e98eca507b 100644 --- a/zh-cn/application-dev/reference/native-apis/native__avcodec__base_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__avcodec__base_8h.md @@ -5,7 +5,7 @@ 声明运行音视频编解码通用的结构体、字符常量、枚举。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__avcodec__videodecoder_8h.md b/zh-cn/application-dev/reference/native-apis/native__avcodec__videodecoder_8h.md index f562886c1013f6b5bd4ac6530cb300790374bdad..dad038c617f2424edfa9a27535442a71bfb08d0e 100644 --- a/zh-cn/application-dev/reference/native-apis/native__avcodec__videodecoder_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__avcodec__videodecoder_8h.md @@ -5,7 +5,7 @@ 声明用于视频解码的Native API。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__avcodec__videoencoder_8h.md b/zh-cn/application-dev/reference/native-apis/native__avcodec__videoencoder_8h.md index 50cb054e61babe666a5cc1f1da4c470cd1c64594..ff019f5929c3c24e0ef9d494cbeb142536b7d624 100644 --- a/zh-cn/application-dev/reference/native-apis/native__avcodec__videoencoder_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__avcodec__videoencoder_8h.md @@ -5,7 +5,7 @@ 声明用于视频编码的Native API。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__averrors_8h.md b/zh-cn/application-dev/reference/native-apis/native__averrors_8h.md index 269d3a898d6261307b32f5833a037036279811aa..242ab02bde1da6f1a40c7c5644f77a4e587a2ae8 100644 --- a/zh-cn/application-dev/reference/native-apis/native__averrors_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__averrors_8h.md @@ -5,7 +5,7 @@ 声明了媒体播放框架的错误码。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__avformat_8h.md b/zh-cn/application-dev/reference/native-apis/native__avformat_8h.md index 4f22a67c0a508766a730251facad472e7b708b32..c3e8507ab66f1b346e92278d817a76fa6969c569 100644 --- a/zh-cn/application-dev/reference/native-apis/native__avformat_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__avformat_8h.md @@ -5,7 +5,7 @@ 声明了格式相关的函数和枚举。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__avmemory_8h.md b/zh-cn/application-dev/reference/native-apis/native__avmemory_8h.md index 18bdc665ff9fca8c6ed284718b6f10adee48bc86..0337640a6be3e4f18b1c4015342c4ec2370bfeb3 100644 --- a/zh-cn/application-dev/reference/native-apis/native__avmemory_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__avmemory_8h.md @@ -5,7 +5,7 @@ 声明了AVMemory的函数接口。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/native__buffer_8h.md b/zh-cn/application-dev/reference/native-apis/native__buffer_8h.md index ed6c7c55523f9766316266a0cf34d1639d6a98e2..8e1b4877f4c3c071566ed5cedc9147f5b46837e1 100644 --- a/zh-cn/application-dev/reference/native-apis/native__buffer_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__buffer_8h.md @@ -5,7 +5,7 @@ 定义获取和使用NativeBuffer的相关函数。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/native__image_8h.md b/zh-cn/application-dev/reference/native-apis/native__image_8h.md index caea888e50505ae86500995cbf20286c2e7b09dc..31bfde04487840095a205231e8e39427460b5778 100644 --- a/zh-cn/application-dev/reference/native-apis/native__image_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__image_8h.md @@ -5,7 +5,7 @@ 定义获取和使用NativeImage的相关函数。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/native__interface__xcomponent_8h.md b/zh-cn/application-dev/reference/native-apis/native__interface__xcomponent_8h.md index 4d66af26df8d5a1b007f753d1d4a9d8e03e5ffbf..afd646012f3276b5a8bbbde55dab5f66b9e1a458 100644 --- a/zh-cn/application-dev/reference/native-apis/native__interface__xcomponent_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__interface__xcomponent_8h.md @@ -5,7 +5,7 @@ 声明用于访问Native XComponent的API。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/native__vsync_8h.md b/zh-cn/application-dev/reference/native-apis/native__vsync_8h.md index 498cb8e9c30f1c486de37a3b8f95f7bf66dfcdab..ff8a87ffac15a545774042280b1b93f8793ff3eb 100644 --- a/zh-cn/application-dev/reference/native-apis/native__vsync_8h.md +++ b/zh-cn/application-dev/reference/native-apis/native__vsync_8h.md @@ -5,7 +5,7 @@ 定义获取和使用NativeVsync的相关函数。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_basic_info.md b/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_basic_info.md index 914cd75fe533935144971e0a8d0cfbaaeff13a72..7f80f23b753371a6b308fb2d8d8dce089db69ab3 100644 --- a/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_basic_info.md +++ b/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_basic_info.md @@ -5,7 +5,7 @@ 会话基础信息描述。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_descriptor.md b/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_descriptor.md index 57780778a727a5b2e364d426a5392c20f8951ac5..c68f7cf38878d2290dd1180136535069110604a3 100644 --- a/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_descriptor.md +++ b/zh-cn/application-dev/reference/native-apis/o_h_o_s_1_1_a_v_session_1_1_a_v_session_descriptor.md @@ -5,7 +5,7 @@ 会话的相关描述信息。 -**Since:** +**起始版本:** 9 **Version:** 1.0 diff --git a/zh-cn/application-dev/reference/native-apis/raw__dir_8h.md b/zh-cn/application-dev/reference/native-apis/raw__dir_8h.md index a574686576bf57790583b4713cc893d4fa32a3ad..71148e5cba37a2e476e450b86297fcbf74b2e056 100644 --- a/zh-cn/application-dev/reference/native-apis/raw__dir_8h.md +++ b/zh-cn/application-dev/reference/native-apis/raw__dir_8h.md @@ -7,7 +7,7 @@ 功能包括遍历和关闭rawfile目录。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/raw__file_8h.md b/zh-cn/application-dev/reference/native-apis/raw__file_8h.md index 1cb2a8dd654212642731247d0723a6a01d421678..2362f94cfd21be21a0ca8c0e031f73c7713f73d5 100644 --- a/zh-cn/application-dev/reference/native-apis/raw__file_8h.md +++ b/zh-cn/application-dev/reference/native-apis/raw__file_8h.md @@ -7,7 +7,7 @@ 功能包括搜索、读取和关闭rawfile文件。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/raw__file__manager_8h.md b/zh-cn/application-dev/reference/native-apis/raw__file__manager_8h.md index 405a8d1efc18b27d8b38f8da08c9d6895b05781d..103ca5b92d55d873271b41cf319e196d07c2ae45 100644 --- a/zh-cn/application-dev/reference/native-apis/raw__file__manager_8h.md +++ b/zh-cn/application-dev/reference/native-apis/raw__file__manager_8h.md @@ -7,7 +7,7 @@ 可以使用resource manager打开rawfile来进行后续相关操作,像搜索和读取等。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/rawfile.md b/zh-cn/application-dev/reference/native-apis/rawfile.md index 01f4faf838864e83489a68d56587197b364b9222..c416450e827cde5420c6cda924c0b8c687243fc1 100644 --- a/zh-cn/application-dev/reference/native-apis/rawfile.md +++ b/zh-cn/application-dev/reference/native-apis/rawfile.md @@ -7,7 +7,7 @@ 功能包括遍历、打开、搜索、读取和关闭rawfile。 -**自从:** +**起始版本:** 8 @@ -80,7 +80,7 @@ typedef struct NativeResourceManager NativeResourceManager 此类封装了JavaScript resource manager的native实现 **ResourceManager**指针可以通过调用[OH_ResourceManager_InitNativeResourceManager](#oh_resourcemanager_initnativeresourcemanager)方法获取 -**自从:** +**起始版本:** 8 @@ -96,7 +96,7 @@ typedef struct RawDir RawDir 提供对rawfile目录的访问。 -**自从:** +**起始版本:** 8 @@ -112,7 +112,7 @@ typedef struct RawFile RawFile 提供对rawfile的访问功能。 -**自从:** +**起始版本:** 8 @@ -141,7 +141,7 @@ void OH_ResourceManager_CloseRawDir (RawDir * rawDir) [OH_ResourceManager_OpenRawDir](#oh_resourcemanager_openrawdir) -**自从:** +**起始版本:** 8 @@ -167,7 +167,7 @@ void OH_ResourceManager_CloseRawFile (RawFile * rawFile) [OH_ResourceManager_OpenRawFile](#oh_resourcemanager_openrawfile) -**自从:** +**起始版本:** 8 @@ -195,7 +195,7 @@ int OH_ResourceManager_GetRawFileCount (RawDir * rawDir) [OH_ResourceManager_GetRawFileName](#oh_resourcemanager_getrawfilename) -**自从:** +**起始版本:** 8 @@ -224,7 +224,7 @@ bool OH_ResourceManager_GetRawFileDescriptor (const RawFile * rawFile, RawFileDe 返回true表示打开rawfile文件描述符成功,返回false表示rawfile不允许被访问。 -**自从:** +**起始版本:** 8 @@ -257,7 +257,7 @@ const char* OH_ResourceManager_GetRawFileName (RawDir * rawDir, int index ) [OH_ResourceManager_OpenRawFile](#oh_resourcemanager_openrawfile) -**自从:** +**起始版本:** 8 @@ -285,7 +285,7 @@ rawfile当前的offset。 返回rawfile当前的offset。 -**自从:** +**起始版本:** 8 @@ -311,7 +311,7 @@ long OH_ResourceManager_GetRawFileSize (RawFile * rawFile) Returns rawfile整体长度。 -**自从:** +**起始版本:** 8 @@ -340,7 +340,7 @@ NativeResourceManager* OH_ResourceManager_InitNativeResourceManager (napi_env en 返回[NativeResourceManager](#nativeresourcemanager)指针。 -**自从:** +**起始版本:** 8 @@ -375,7 +375,7 @@ RawDir* OH_ResourceManager_OpenRawDir (const NativeResourceManager * mgr, const [OH_ResourceManager_CloseRawDir](#oh_resourcemanager_closerawdir) -**自从:** +**起始版本:** 8 @@ -410,7 +410,7 @@ RawFile* OH_ResourceManager_OpenRawFile (const NativeResourceManager * mgr, cons [OH_ResourceManager_CloseRawFile](#oh_resourcemanager_closerawfile) -**自从:** +**起始版本:** 8 @@ -440,7 +440,7 @@ int OH_ResourceManager_ReadRawFile (const RawFile * rawFile, void * buf, size_t 返回读取的字节数,如果读取长度超过文件末尾长度,则返回**0**。 -**自从:** +**起始版本:** 8 @@ -462,7 +462,7 @@ void OH_ResourceManager_ReleaseNativeResourceManager (NativeResourceManager * re | ------ | ---------------------------------------- | | resMgr | 表示[NativeResourceManager](#nativeresourcemanager)指针。 | -**自从:** +**起始版本:** 8 @@ -490,7 +490,7 @@ bool OH_ResourceManager_ReleaseRawFileDescriptor (const RawFileDescriptor & desc 返回true表示关闭文件描述符成功,返回false表示关闭文件描述符失败。 -**自从:** +**起始版本:** 8 @@ -518,6 +518,6 @@ int OH_ResourceManager_SeekRawFile (const RawFile * rawFile, long offset, int wh 如果搜索成功返回新的读写位置,如果发生错误返回 **(long) -1**。 -**自从:** +**起始版本:** 8 diff --git a/zh-cn/application-dev/reference/native-apis/status_8h.md b/zh-cn/application-dev/reference/native-apis/status_8h.md index 062e7a8cda5c6e84f8c8adf10f15f462463ffb0c..cf46ce6091d04d966146246c33a8541662b30317 100644 --- a/zh-cn/application-dev/reference/native-apis/status_8h.md +++ b/zh-cn/application-dev/reference/native-apis/status_8h.md @@ -5,7 +5,7 @@ 提供了Mindspore Lite运行时的状态码。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/tensor_8h.md b/zh-cn/application-dev/reference/native-apis/tensor_8h.md index 7bd9ff9ff13dae6e644cdf9c711e3a6d65a7247c..fff4ac894047493d717219a763714a7e3f2dd3bf 100644 --- a/zh-cn/application-dev/reference/native-apis/tensor_8h.md +++ b/zh-cn/application-dev/reference/native-apis/tensor_8h.md @@ -5,7 +5,7 @@ 提供了张量相关的接口,可用于创建和修改张量信息。 -**自从:** +**起始版本:** 9 diff --git a/zh-cn/application-dev/reference/native-apis/types_8h.md b/zh-cn/application-dev/reference/native-apis/types_8h.md index 2ea30fcea1b967628cc0715277563aabd1c9d009..f9dda2dfa2c2a0e31486c72166d7d98c88273f0e 100644 --- a/zh-cn/application-dev/reference/native-apis/types_8h.md +++ b/zh-cn/application-dev/reference/native-apis/types_8h.md @@ -5,7 +5,7 @@ 提供了MindSpore Lite支持的模型文件类型和设备类型。 -**自从:** +**起始版本:** 9