提交 f1a861e2 编写于 作者: E ester.zhou

update doc

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 3b0a37bd
...@@ -13,7 +13,7 @@ import parameter from '@ohos.systemParameter' ...@@ -13,7 +13,7 @@ import parameter from '@ohos.systemParameter'
## parameter.getSync ## parameter.getSync
getSync(key: string, def?: string) getSync(key: string, def?: string): string
Obtains the value of the attribute with the specified key. Obtains the value of the attribute with the specified key.
...@@ -46,7 +46,7 @@ try { ...@@ -46,7 +46,7 @@ try {
## parameter.get ## parameter.get
get(key: string, callback: AsyncCallback&lt;string&gt;) get(key: string, callback: AsyncCallback&lt;string&gt;): void
Obtains the value of the attribute with the specified key. This API uses an asynchronous callback to return the result. Obtains the value of the attribute with the specified key. This API uses an asynchronous callback to return the result.
...@@ -77,7 +77,7 @@ try { ...@@ -77,7 +77,7 @@ try {
## parameter.get ## parameter.get
get(key: string, def: string, callback: AsyncCallback&lt;string&gt;) get(key: string, def: string, callback: AsyncCallback&lt;string&gt;): void
Obtains the value of the attribute with the specified key. This API uses an asynchronous callback to return the result. Obtains the value of the attribute with the specified key. This API uses an asynchronous callback to return the result.
...@@ -110,7 +110,7 @@ try { ...@@ -110,7 +110,7 @@ try {
## parameter.get ## parameter.get
get(key: string, def?: string) get(key: string, def?: string): Promise&lt;string&gt;
Obtains the value of the attribute with the specified key. This API uses a promise to return the result. Obtains the value of the attribute with the specified key. This API uses a promise to return the result.
...@@ -147,7 +147,7 @@ try { ...@@ -147,7 +147,7 @@ try {
## parameter.setSync ## parameter.setSync
setSync(key: string, value: string) setSync(key: string, value: string): void
Sets a value for the attribute with the specified key. Sets a value for the attribute with the specified key.
...@@ -173,7 +173,7 @@ try { ...@@ -173,7 +173,7 @@ try {
## parameter.set(key: string, value: string, callback: AsyncCallback&lt;void&gt;) ## parameter.set(key: string, value: string, callback: AsyncCallback&lt;void&gt;)
set(key: string, value: string, callback: AsyncCallback&lt;void&gt;) set(key: string, value: string, callback: AsyncCallback&lt;void&gt;): void
Sets a value for the attribute with the specified key. This API uses an asynchronous callback to return the result. Sets a value for the attribute with the specified key. This API uses an asynchronous callback to return the result.
...@@ -205,7 +205,7 @@ try { ...@@ -205,7 +205,7 @@ try {
## parameter.set(key: string, def?: string) ## parameter.set(key: string, def?: string)
set(key: string, def?: string) set(key: string, def?: string): Promise&lt;string&gt;
Sets a value for the attribute with the specified key. This API uses a promise to return the result. Sets a value for the attribute with the specified key. This API uses a promise to return the result.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册