已合并
资料易用性整改 #31754
liuzongze创建于 4月2日
资料易用性整改 #31754
已合并
共 6 个文件变更+16-16
| @@ -21,7 +21,7 @@ | |||
| 21 | import UIAbility from './@ohos.app.ability.UIAbility'; | 21 | import UIAbility from './@ohos.app.ability.UIAbility'; |
| 22 | import type EmbeddableUIAbilityContext from './application/EmbeddableUIAbilityContext'; | 22 | import type EmbeddableUIAbilityContext from './application/EmbeddableUIAbilityContext'; |
| 23 | /** | 23 | /** |
| 24 | - * class of embeddable UIAbility. | 24 | + * The class of an embeddable UIAbility. |
| 25 | * | 25 | * |
| 26 | * UIAbility | 26 | * UIAbility |
| 27 | * SystemCapability.Ability.AbilityRuntime.Core | 27 | * SystemCapability.Ability.AbilityRuntime.Core |
| @@ -31,7 +31,7 @@ import type insightIntent from './@ohos.app.ability.insightIntent'; | |||
| 31 | declare namespace insightIntentProvider { | 31 | declare namespace insightIntentProvider { |
| 32 | /** | 32 | /** |
| 33 | * Send execute result. | 33 | * Send execute result. |
| 34 | - * @param { int } instanceId - The insight intent instanceId ID. | 34 | + * @param { int } instanceId - The insight intent instance ID. |
| 35 | * It is from InsightIntentExecutor.context.instanceId. | 35 | * It is from InsightIntentExecutor.context.instanceId. |
| 36 | * { insightIntent.ExecuteResult } result - The result of insight intent execution. | 36 | * { insightIntent.ExecuteResult } result - The result of insight intent execution. |
| 37 | * { Promise<void> } - The promise returned by the function. | 37 | * { Promise<void> } - The promise returned by the function. |
| @@ -47,7 +47,7 @@ declare namespace insightIntentProvider { | |||
| 47 | 47 | ||
| 48 | /** | 48 | /** |
| 49 | * Send intent result. | 49 | * Send intent result. |
| 50 | - * @param { int } instanceId - The insight intent instanceId ID. | 50 | + * @param { int } instanceId - The insight intent instance ID. |
| 51 | * It is from InsightIntentEntryExecutor.context.instanceId. | 51 | * It is from InsightIntentEntryExecutor.context.instanceId. |
| 52 | * { insightIntent.IntentResult<T> } result - The result of insight intent execution. | 52 | * { insightIntent.IntentResult<T> } result - The result of insight intent execution. |
| 53 | * { Promise<void> } - The promise returned by the function. | 53 | * { Promise<void> } - The promise returned by the function. |
| @@ -57,7 +57,7 @@ declare namespace insightIntentProvider { | |||
| 57 | * SystemCapability.Ability.AbilityRuntime.Core | 57 | * SystemCapability.Ability.AbilityRuntime.Core |
| 58 | * | 58 | * |
| 59 | * | 59 | * |
| 60 | - * @since 23 dynamiconly | 60 | + * @since 23 dynamic |
| 61 | */ | 61 | */ |
| 62 | function sendIntentResult(instanceId: int, result: insightIntent.IntentResult<T>): Promise<void>; | 62 | function sendIntentResult(instanceId: int, result: insightIntent.IntentResult<T>): Promise<void>; |
| 63 | } | 63 | } |
| @@ -114,7 +114,7 @@ declare namespace sendableContextManager { | |||
| 114 | function convertToUIAbilityContext(sendableContext: SendableContext): common.UIAbilityContext; | 114 | function convertToUIAbilityContext(sendableContext: SendableContext): common.UIAbilityContext; |
| 115 | 115 | ||
| 116 | /** | 116 | /** |
| 117 | - * Enable/disable multi-threaded communication capability for the EventHub widthin the specified context. | 117 | + * Enable/disable multi-threaded communication capability for the EventHub within the specified context. |
| 118 | * After it is enabled, eventHub emit data is transmitted through serialization, | 118 | * After it is enabled, eventHub emit data is transmitted through serialization, |
| 119 | * the data at the sender and receiver are independent. | 119 | * the data at the sender and receiver are independent. |
| 120 | * | 120 | * |
| @@ -29,7 +29,7 @@ | |||
| 29 | */ | 29 | */ |
| 30 | export declare interface Want { | 30 | export declare interface Want { |
| 31 | /** | 31 | /** |
| 32 | - * device id | 32 | + * Device Id |
| 33 | * | 33 | * |
| 34 | * { ?string } | 34 | * { ?string } |
| 35 | * SystemCapability.Ability.AbilityBase | 35 | * SystemCapability.Ability.AbilityBase |
| @@ -40,7 +40,7 @@ export declare interface Want { | |||
| 40 | deviceId?: string; | 40 | deviceId?: string; |
| 41 | 41 | ||
| 42 | /** | 42 | /** |
| 43 | - * bundle name | 43 | + * Bundle name |
| 44 | * | 44 | * |
| 45 | * { ?string } | 45 | * { ?string } |
| 46 | * SystemCapability.Ability.AbilityBase | 46 | * SystemCapability.Ability.AbilityBase |
| @@ -51,7 +51,7 @@ export declare interface Want { | |||
| 51 | bundleName?: string; | 51 | bundleName?: string; |
| 52 | 52 | ||
| 53 | /** | 53 | /** |
| 54 | - * ability name | 54 | + * Ability name |
| 55 | * | 55 | * |
| 56 | * { ?string } | 56 | * { ?string } |
| 57 | * SystemCapability.Ability.AbilityBase | 57 | * SystemCapability.Ability.AbilityBase |
| @@ -95,7 +95,7 @@ export declare interface Want { | |||
| 95 | flags?: number; | 95 | flags?: number; |
| 96 | 96 | ||
| 97 | /** | 97 | /** |
| 98 | - * The description of an action in an want. | 98 | + * The description of an action in a Want. |
| 99 | * | 99 | * |
| 100 | * { ?string } | 100 | * { ?string } |
| 101 | * SystemCapability.Ability.AbilityBase | 101 | * SystemCapability.Ability.AbilityBase |
| @@ -106,7 +106,7 @@ export declare interface Want { | |||
| 106 | action?: string; | 106 | action?: string; |
| 107 | 107 | ||
| 108 | /** | 108 | /** |
| 109 | - * The description of the WantParams object in an Want | 109 | + * The description of the WantParams object in a Want |
| 110 | * | 110 | * |
| 111 | * { ?object } | 111 | * { ?object } |
| 112 | * SystemCapability.Ability.AbilityBase | 112 | * SystemCapability.Ability.AbilityBase |
| @@ -117,7 +117,7 @@ export declare interface Want { | |||
| 117 | parameters?: { [key: string]: any }; | 117 | parameters?: { [key: string]: any }; |
| 118 | 118 | ||
| 119 | /** | 119 | /** |
| 120 | - * The description of a entities in a Want. | 120 | + * The description of entities in a Want. |
| 121 | * | 121 | * |
| 122 | * { ?Array<string> } | 122 | * { ?Array<string> } |
| 123 | * SystemCapability.Ability.AbilityBase | 123 | * SystemCapability.Ability.AbilityBase |
| @@ -104,20 +104,20 @@ export interface AbilityMonitor { | |||
| 104 | moduleName?: string; | 104 | moduleName?: string; |
| 105 | 105 | ||
| 106 | /** | 106 | /** |
| 107 | - * Called back when the ability is created for initialization. | 107 | + * Called back when the ability is created. |
| 108 | * | 108 | * |
| 109 | * SystemCapability.Ability.AbilityRuntime.Core | 109 | * SystemCapability.Ability.AbilityRuntime.Core |
| 110 | * 9 | 110 | * 9 |
| 111 | */ | 111 | */ |
| 112 | /** | 112 | /** |
| 113 | - * Called back when the ability is created for initialization. | 113 | + * Called back when the ability is created. |
| 114 | * | 114 | * |
| 115 | * SystemCapability.Ability.AbilityRuntime.Core | 115 | * SystemCapability.Ability.AbilityRuntime.Core |
| 116 | * | 116 | * |
| 117 | * 10 | 117 | * 10 |
| 118 | */ | 118 | */ |
| 119 | /** | 119 | /** |
| 120 | - * Called back when the ability is created for initialization. | 120 | + * Called back when the ability is created. |
| 121 | * | 121 | * |
| 122 | * { ?function }. | 122 | * { ?function }. |
| 123 | * SystemCapability.Ability.AbilityRuntime.Core | 123 | * SystemCapability.Ability.AbilityRuntime.Core |
| @@ -19,14 +19,14 @@ | |||
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | /** | 21 | /** |
| 22 | - * A object that records the result of shell command executes. | 22 | + * An object that records the result of shell command execution. |
| 23 | * | 23 | * |
| 24 | * ShellCmdResult | 24 | * ShellCmdResult |
| 25 | * SystemCapability.Ability.AbilityRuntime.Core | 25 | * SystemCapability.Ability.AbilityRuntime.Core |
| 26 | * 8 | 26 | * 8 |
| 27 | */ | 27 | */ |
| 28 | /** | 28 | /** |
| 29 | - * A object that records the result of shell command executes. | 29 | + * An object that records the result of shell command execution. |
| 30 | * | 30 | * |
| 31 | * ShellCmdResult | 31 | * ShellCmdResult |
| 32 | * SystemCapability.Ability.AbilityRuntime.Core | 32 | * SystemCapability.Ability.AbilityRuntime.Core |