已合并
资料易用性整改 #31754
资料易用性整改 #31754
已合并
liuzongze创建于 4月2日
6 个文件变更+16-16
@@ -21,7 +21,7 @@
21import UIAbility from './@ohos.app.ability.UIAbility';21import UIAbility from './@ohos.app.ability.UIAbility';
22import type EmbeddableUIAbilityContext from './application/EmbeddableUIAbilityContext';22import type EmbeddableUIAbilityContext from './application/EmbeddableUIAbilityContext';
23/**23/**
24- * class of embeddable UIAbility.24+ * The class of an embeddable UIAbility.
25 *25 *
26 * @extends UIAbility26 * @extends UIAbility
27 * @syscap SystemCapability.Ability.AbilityRuntime.Core27 * @syscap SystemCapability.Ability.AbilityRuntime.Core
@@ -31,7 +31,7 @@ import type insightIntent from './@ohos.app.ability.insightIntent';
31declare namespace insightIntentProvider {31declare 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 * @param { insightIntent.ExecuteResult } result - The result of insight intent execution.36 * @param { insightIntent.ExecuteResult } result - The result of insight intent execution.
37 * @returns { Promise<void> } - The promise returned by the function.37 * @returns { 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 * @param { insightIntent.IntentResult<T> } result - The result of insight intent execution.52 * @param { insightIntent.IntentResult<T> } result - The result of insight intent execution.
53 * @returns { Promise<void> } - The promise returned by the function.53 * @returns { Promise<void> } - The promise returned by the function.
@@ -57,7 +57,7 @@ declare namespace insightIntentProvider {
57 * @syscap SystemCapability.Ability.AbilityRuntime.Core57 * @syscap SystemCapability.Ability.AbilityRuntime.Core
58 * @stagemodelonly58 * @stagemodelonly
59 * @atomicservice59 * @atomicservice
60- * @since 23 dynamiconly60+ * @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 */
30export declare interface Want {30export declare interface Want {
31 /**31 /**
32- * device id32+ * Device Id
33 *33 *
34 * @type { ?string }34 * @type { ?string }
35 * @syscap SystemCapability.Ability.AbilityBase35 * @syscap SystemCapability.Ability.AbilityBase
@@ -40,7 +40,7 @@ export declare interface Want {
40 deviceId?: string;40 deviceId?: string;
41 41 
42 /**42 /**
43- * bundle name43+ * Bundle name
44 *44 *
45 * @type { ?string }45 * @type { ?string }
46 * @syscap SystemCapability.Ability.AbilityBase46 * @syscap SystemCapability.Ability.AbilityBase
@@ -51,7 +51,7 @@ export declare interface Want {
51 bundleName?: string;51 bundleName?: string;
52 52 
53 /**53 /**
54- * ability name54+ * Ability name
55 *55 *
56 * @type { ?string }56 * @type { ?string }
57 * @syscap SystemCapability.Ability.AbilityBase57 * @syscap 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 * @type { ?string }100 * @type { ?string }
101 * @syscap SystemCapability.Ability.AbilityBase101 * @syscap 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 Want109+ * The description of the WantParams object in a Want
110 *110 *
111 * @type { ?object }111 * @type { ?object }
112 * @syscap SystemCapability.Ability.AbilityBase112 * @syscap 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 * @type { ?Array<string> }122 * @type { ?Array<string> }
123 * @syscap SystemCapability.Ability.AbilityBase123 * @syscap 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 * @syscap SystemCapability.Ability.AbilityRuntime.Core109 * @syscap SystemCapability.Ability.AbilityRuntime.Core
110 * @since 9110 * @since 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 * @syscap SystemCapability.Ability.AbilityRuntime.Core115 * @syscap SystemCapability.Ability.AbilityRuntime.Core
116 * @crossplatform116 * @crossplatform
117 * @since 10117 * @since 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 * @type { ?function }.122 * @type { ?function }.
123 * @syscap SystemCapability.Ability.AbilityRuntime.Core123 * @syscap 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 * @typedef ShellCmdResult24 * @typedef ShellCmdResult
25 * @syscap SystemCapability.Ability.AbilityRuntime.Core25 * @syscap SystemCapability.Ability.AbilityRuntime.Core
26 * @since 826 * @since 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 * @typedef ShellCmdResult31 * @typedef ShellCmdResult
32 * @syscap SystemCapability.Ability.AbilityRuntime.Core32 * @syscap SystemCapability.Ability.AbilityRuntime.Core