提交 2d400d7c 编写于 作者: G Gloria

Update docs against 21710+21757+21786

Signed-off-by: wusongqing<wusongqing@huawei.com>
上级 ce2c54fa
...@@ -1732,7 +1732,7 @@ Creates an array of **PixelMap** objects based on the default parameters. This A ...@@ -1732,7 +1732,7 @@ Creates an array of **PixelMap** objects based on the default parameters. This A
**Example** **Example**
```js ```js
imageSourceApi.createPixelMap( pixelmaplist => { imageSourceApi.createPixelMapList( pixelmaplist => {
console.info('Succeeded in creating pixelmaplist object.'); console.info('Succeeded in creating pixelmaplist object.');
}) })
``` ```
...@@ -1763,7 +1763,7 @@ let decodeOpts = { ...@@ -1763,7 +1763,7 @@ let decodeOpts = {
desiredPixelFormat: 3, desiredPixelFormat: 3,
index: 0, index: 0,
}; };
imageSourceApi.createPixelMap(decodeOpts, pixelmaplist => { imageSourceApi.createPixelMapList(decodeOpts, pixelmaplist => {
console.log('Succeeded in creating pixelmaplist object.'); console.log('Succeeded in creating pixelmaplist object.');
}) })
``` ```
...@@ -2839,9 +2839,9 @@ Defines image decoding options. ...@@ -2839,9 +2839,9 @@ Defines image decoding options.
| Name | Type | Readable| Writable| Description | | Name | Type | Readable| Writable| Description |
| ------------------ | ---------------------------------- | ---- | ---- | ---------------- | | ------------------ | ---------------------------------- | ---- | ---- | ---------------- |
| sampleSize | number | Yes | Yes | Thumbnail sampling size.| | sampleSize | number | Yes | Yes | Thumbnail sampling size. Currently, this option can only be set to **1**.|
| rotate | number | Yes | Yes | Rotation angle. | | rotate | number | Yes | Yes | Rotation angle. |
| editable | boolean | Yes | Yes | Whether the image is editable. | | editable | boolean | Yes | Yes | Whether the image is editable. If this option is set to **false**, the image cannot be edited again, and operations such as cropping will fail. |
| desiredSize | [Size](#size) | Yes | Yes | Expected output size. | | desiredSize | [Size](#size) | Yes | Yes | Expected output size. |
| desiredRegion | [Region](#region7) | Yes | Yes | Region to decode. | | desiredRegion | [Region](#region7) | Yes | Yes | Region to decode. |
| desiredPixelFormat | [PixelMapFormat](#pixelmapformat7) | Yes | Yes | Pixel map format for decoding.| | desiredPixelFormat | [PixelMapFormat](#pixelmapformat7) | Yes | Yes | Pixel map format for decoding.|
...@@ -2899,34 +2899,34 @@ Describes the exchangeable image file format (EXIF) data of an image. ...@@ -2899,34 +2899,34 @@ Describes the exchangeable image file format (EXIF) data of an image.
| GPS_LONGITUDE | "GPSLongitude" | Image longitude. | | GPS_LONGITUDE | "GPSLongitude" | Image longitude. |
| GPS_LATITUDE_REF | "GPSLatitudeRef" | Latitude reference, for example, N or S. | | GPS_LATITUDE_REF | "GPSLatitudeRef" | Latitude reference, for example, N or S. |
| GPS_LONGITUDE_REF | "GPSLongitudeRef" | Longitude reference, for example, W or E. | | GPS_LONGITUDE_REF | "GPSLongitudeRef" | Longitude reference, for example, W or E. |
| DATE_TIME_ORIGINAL<sup>9+</sup> | "DateTimeOriginal" | Shooting time, for example, 2022:09:06 15:48:00. | | DATE_TIME_ORIGINAL<sup>9+</sup> | "DateTimeOriginal" | Shooting time, for example, 2022:09:06 15:48:00. This attribute is read-only. |
| EXPOSURE_TIME<sup>9+</sup> | "ExposureTime" | Exposure time, for example, 1/33 sec.| | EXPOSURE_TIME<sup>9+</sup> | "ExposureTime" | Exposure time, for example, 1/33 sec. Currently, this attribute is read-only.|
| SCENE_TYPE<sup>9+</sup> | "SceneType" | Shooting scene type, for example, portrait, scenery, motion, and night. | | SCENE_TYPE<sup>9+</sup> | "SceneType" | Shooting scene type, for example, portrait, scenery, motion, and night. Currently, this attribute is read-only. |
| ISO_SPEED_RATINGS<sup>9+</sup> | "ISOSpeedRatings" | ISO sensitivity or ISO speed, for example, 400. | | ISO_SPEED_RATINGS<sup>9+</sup> | "ISOSpeedRatings" | ISO sensitivity or ISO speed, for example, 400. Currently, this attribute is read-only. |
| F_NUMBER<sup>9+</sup> | "FNumber" | Aperture, for example, f/1.8. | | F_NUMBER<sup>9+</sup> | "FNumber" | Aperture, for example, f/1.8. Currently, this attribute is read-only. |
| DATE_TIME<sup>10+</sup> | "DateTime" | Date and time. | | DATE_TIME<sup>10+</sup> | "DateTime" | Date and time. Currently, this attribute is read-only. |
| GPS_TIME_STAMP<sup>10+</sup> | "GPSTimeStamp" | GPS timestamp. | | GPS_TIME_STAMP<sup>10+</sup> | "GPSTimeStamp" | GPS timestamp. Currently, this parameter is read-only. |
| GPS_DATE_STAMP<sup>10+</sup> | "GPSDateStamp" | GPS date stamp. | | GPS_DATE_STAMP<sup>10+</sup> | "GPSDateStamp" | GPS date stamp. Currently, this attribute is read-only. |
| IMAGE_DESCRIPTION<sup>10+</sup> | "ImageDescription" | Image description. | | IMAGE_DESCRIPTION<sup>10+</sup> | "ImageDescription" | Image description. Currently, this attribute is read-only. |
| MAKE<sup>10+</sup> | "Make" | Vendor. | | MAKE<sup>10+</sup> | "Make" | Vendor. Currently, this attribute is read-only. |
| PHOTO_MODE<sup>10+</sup> | "PhotoMode " | Photo mode. | | PHOTO_MODE<sup>10+</sup> | "PhotoMode " | Photo mode. Currently, this attribute is read-only. |
| SENSITIVITY_TYPE<sup>10+</sup> | "SensitivityType" | Sensitivity type. | | SENSITIVITY_TYPE<sup>10+</sup> | "SensitivityType" | Sensitivity type. Currently, this attribute is read-only. |
| STANDARD_OUTPUT_SENSITIVITY<sup>10+</sup> | "StandardOutputSensitivity" | Standard output sensitivity. | | STANDARD_OUTPUT_SENSITIVITY<sup>10+</sup> | "StandardOutputSensitivity" | Standard output sensitivity. Currently, this attribute is read-only. |
| RECOMMENDED_EXPOSURE_INDEX<sup>10+</sup> | "RecommendedExposureIndex" | Recommended exposure index. | | RECOMMENDED_EXPOSURE_INDEX<sup>10+</sup> | "RecommendedExposureIndex" | Recommended exposure index. Currently, this attribute is read-only. |
| ISO_SPEED<sup>10+</sup> | "ISOSpeedRatings" | ISO speed. | | ISO_SPEED<sup>10+</sup> | "ISOSpeedRatings" | ISO speed. Currently, this attribute is read-only. |
| APERTURE_VALUE<sup>10+</sup> | "ApertureValue" | Aperture value. | | APERTURE_VALUE<sup>10+</sup> | "ApertureValue" | Aperture value. Currently, this attribute is read-only. |
| EXPOSURE_BIAS_VALUE<sup>10+</sup> | "ExposureBiasValue" | Exposure bias value. | | EXPOSURE_BIAS_VALUE<sup>10+</sup> | "ExposureBiasValue" | Exposure bias value. Currently, this attribute is read-only. |
| METERING_MODE<sup>10+</sup> | "MeteringMode" | Metering mode. | | METERING_MODE<sup>10+</sup> | "MeteringMode" | Metering mode. Currently, this attribute is read-only. |
| LIGHT_SOURCE<sup>10+</sup> | "LightSource" | Light source. | | LIGHT_SOURCE<sup>10+</sup> | "LightSource" | Light source. Currently, this attribute is read-only. |
| FLASH <sup>10+</sup> | "Flash" | Flash status. | | FLASH <sup>10+</sup> | "Flash" | Flash status. Currently, this attribute is read-only. |
| FOCAL_LENGTH <sup>10+</sup> | "FocalLength" | Focal length. | | FOCAL_LENGTH <sup>10+</sup> | "FocalLength" | Focal length. Currently, this attribute is read-only. |
| USER_COMMENT <sup>10+</sup> | "UserComment" | User comment. | | USER_COMMENT <sup>10+</sup> | "UserComment" | User comment. Currently, this attribute is read-only. |
| PIXEL_X_DIMENSION <sup>10+</sup> | "PixelXDimension" | Pixel X dimension. | | PIXEL_X_DIMENSION <sup>10+</sup> | "PixelXDimension" | Pixel X dimension. Currently, this attribute is read-only. |
| PIXEL_Y_DIMENSION<sup>10+</sup> | "PixelYDimension" | Pixel Y dimension. | | PIXEL_Y_DIMENSION<sup>10+</sup> | "PixelYDimension" | Pixel Y dimension. Currently, this attribute is read-only. |
| WHITE_BALANCE <sup>10+</sup> | "WhiteBalance" | White balance. | | WHITE_BALANCE <sup>10+</sup> | "WhiteBalance" | White balance. Currently, this attribute is read-only. |
| FOCAL_LENGTH_IN_35_MM_FILM <sup>10+</sup> | "FocalLengthIn35mmFilm" | Focal length in 35mm film. | | FOCAL_LENGTH_IN_35_MM_FILM <sup>10+</sup> | "FocalLengthIn35mmFilm" | Focal length in 35mm film. Currently, this attribute is read-only. |
| CAPTURE_MODE <sup>10+</sup> | "HwMnoteCaptureMode" | Capture mode. | | CAPTURE_MODE <sup>10+</sup> | "HwMnoteCaptureMode" | Capture mode. Currently, this parameter is read-only. |
| PHYSICAL_APERTURE <sup>10+</sup> | "HwMnotePhysicalAperture" | Physical aperture. | | PHYSICAL_APERTURE <sup>10+</sup> | "HwMnotePhysicalAperture" | Physical aperture. Currently, this parameter is read-only. |
## ImageFormat<sup>9+</sup> ## ImageFormat<sup>9+</sup>
......
...@@ -1324,7 +1324,7 @@ Observe the following when using this API: ...@@ -1324,7 +1324,7 @@ Observe the following when using this API:
- If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission. - If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission.
- The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md). - The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md).
**Required permissions**: ohos.permission.NOTIFICATION_CONTROLLER **Required permissions**: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION
**System capability**: SystemCapability.Ability.AbilityRuntime.Core **System capability**: SystemCapability.Ability.AbilityRuntime.Core
...@@ -1638,7 +1638,7 @@ Observe the following when using this API: ...@@ -1638,7 +1638,7 @@ Observe the following when using this API:
- If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission. - If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission.
- The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md). - The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md).
**Required permissions**: ohos.permission.NOTIFICATION_CONTROLLER and ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS **Required permissions**: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION and ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
**System capability**: SystemCapability.Ability.AbilityRuntime.Core **System capability**: SystemCapability.Ability.AbilityRuntime.Core
......
...@@ -1700,7 +1700,7 @@ Observe the following when using this API: ...@@ -1700,7 +1700,7 @@ Observe the following when using this API:
- If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission. - If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission.
- The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md). - The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md).
**Required permissions**: ohos.permission.NOTIFICATION_CONTROLLER **Required permissions**: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION
**System capability**: SystemCapability.Ability.AbilityRuntime.Core **System capability**: SystemCapability.Ability.AbilityRuntime.Core
...@@ -2719,7 +2719,7 @@ Observe the following when using this API: ...@@ -2719,7 +2719,7 @@ Observe the following when using this API:
- If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission. - If **exported** of the target ability is **false** in cross-application scenarios, the caller must have the **ohos.permission.START_INVISIBLE_ABILITY** permission.
- The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md). - The rules for using this API in the same-device and cross-device scenarios are different. For details, see [Component Startup Rules (Stage Model)](../../application-models/component-startup-rules.md).
**Required permissions**: ohos.permission.NOTIFICATION_CONTROLLER and ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS **Required permissions**: ohos.permission.ABILITY_BACKGROUND_COMMUNICATION and ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
**System capability**: SystemCapability.Ability.AbilityRuntime.Core **System capability**: SystemCapability.Ability.AbilityRuntime.Core
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册