Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
bf420ac6
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
bf420ac6
编写于
8月 23, 2023
作者:
Z
zhouhongli2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
Signed-off-by:
N
zhouhongli2023
<
zhouhongli5@huawei.com
>
上级
e4ae26cf
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
27 addition
and
27 deletion
+27
-27
zh-cn/application-dev/reference/apis/js-apis-contact.md
zh-cn/application-dev/reference/apis/js-apis-contact.md
+27
-27
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-contact.md
浏览文件 @
bf420ac6
...
...
@@ -1301,7 +1301,7 @@ queryContact(key: string, callback: AsyncCallback<Contact>): void
```
## contact.queryContact
## contact.queryContact
<sup>10+<sup>
queryContact(context: Context, key: string, holder: Holder, callback: AsyncCallback
<
Contact
>
): void
...
...
@@ -1386,7 +1386,7 @@ queryContact(key: string, holder: Holder, callback: AsyncCallback<Contact>
});
```
## contact.queryContact
## contact.queryContact
<sup>10+<sup>
queryContact(context: Context, key: string, attrs: ContactAttributes, callback: AsyncCallback
<
Contact
>
): void
...
...
@@ -1467,7 +1467,7 @@ queryContact(key: string, attrs: ContactAttributes, callback: AsyncCallback<
});
```
## contact.queryContact
## contact.queryContact
<sup>10+<sup>
queryContact(context: Context, key: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback
<
Contact
>
): void
...
...
@@ -1559,7 +1559,7 @@ queryContact(key: string, holder: Holder, attrs: ContactAttributes, callback: As
```
## contact.queryContact
## contact.queryContact
<sup>10+<sup>
queryContact(context: Context, key: string, holder?: Holder, attrs?: ContactAttributes): Promise
<
Contact
>
...
...
@@ -1656,7 +1656,7 @@ queryContact(key: string, holder?: Holder, attrs?: ContactAttributes): Promise&l
});
```
## contact.queryContacts
## contact.queryContacts
<sup>10+<sup>
queryContacts(context: Context, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -1729,7 +1729,7 @@ queryContacts(callback: AsyncCallback<Array<Contact>>): void
});
```
## contact.queryContacts
## contact.queryContacts
<sup>10+<sup>
queryContacts(context: Context, holder: Holder, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -1812,7 +1812,7 @@ queryContacts(holder: Holder, callback: AsyncCallback<Array<Contact>>
});
```
## contact.queryContacts
## contact.queryContacts
<sup>10+<sup>
queryContacts(context: Context, attrs: ContactAttributes, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -1891,7 +1891,7 @@ queryContacts(attrs: ContactAttributes, callback: AsyncCallback<Array<Cont
});
```
## contact.queryContacts
## contact.queryContacts
<sup>10+<sup>
queryContacts(context: Context, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -1980,7 +1980,7 @@ queryContacts(holder: Holder, attrs: ContactAttributes, callback: AsyncCallback&
});
```
## contact.queryContacts
## contact.queryContacts
<sup>10+<sup>
queryContacts(context: Context, holder?: Holder, attrs?: ContactAttributes): Promise
<
Array
<
Contact
>>
...
...
@@ -2076,7 +2076,7 @@ queryContacts(holder?: Holder, attrs?: ContactAttributes): Promise<Array<C
});
```
## contact.queryContactsByPhoneNumber
## contact.queryContactsByPhoneNumber
<sup>10+<sup>
queryContactsByPhoneNumber(context: Context, phoneNumber: string, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2152,7 +2152,7 @@ queryContactsByPhoneNumber(phoneNumber: string, callback: AsyncCallback<Array
```
## contact.queryContactsByPhoneNumber
## contact.queryContactsByPhoneNumber
<sup>10+<sup>
queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2237,7 +2237,7 @@ queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, callback: AsyncC
});
```
## contact.queryContactsByPhoneNumber
## contact.queryContactsByPhoneNumber
<sup>10+<sup>
queryContactsByPhoneNumber(context: Context, phoneNumber: string, attrs: ContactAttributes, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2318,7 +2318,7 @@ queryContactsByPhoneNumber(phoneNumber: string, attrs: ContactAttributes, callba
});
```
## contact.queryContactsByPhoneNumber
## contact.queryContactsByPhoneNumber
<sup>10+<sup>
queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2409,7 +2409,7 @@ queryContactsByPhoneNumber(phoneNumber: string, holder: Holder, attrs: ContactAt
});
```
## contact.queryContactsByPhoneNumber
## contact.queryContactsByPhoneNumber
<sup>10+<sup>
queryContactsByPhoneNumber(context: Context, phoneNumber: string, holder?: Holder, attrs?: ContactAttributes): Promise
<
Array
<
Contact
>>
...
...
@@ -2508,7 +2508,7 @@ queryContactsByPhoneNumber(phoneNumber: string, holder?: Holder, attrs?: Contact
});
```
## contact.queryContactsByEmail
## contact.queryContactsByEmail
<sup>10+<sup>
queryContactsByEmail(context: Context, email: string, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2583,7 +2583,7 @@ queryContactsByEmail(email: string, callback: AsyncCallback<Array<Contact&
});
```
## contact.queryContactsByEmail
## contact.queryContactsByEmail
<sup>10+<sup>
queryContactsByEmail(context: Context, email: string, holder: Holder, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2668,7 +2668,7 @@ queryContactsByEmail(email: string, holder: Holder, callback: AsyncCallback<A
});
```
## contact.queryContactsByEmail
## contact.queryContactsByEmail
<sup>10+<sup>
queryContactsByEmail(context: Context, email: string, attrs: ContactAttributes, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2749,7 +2749,7 @@ queryContactsByEmail(email: string, attrs: ContactAttributes, callback: AsyncCal
});
```
## contact.queryContactsByEmail
## contact.queryContactsByEmail
<sup>10+<sup>
queryContactsByEmail(context: Context, email: string, holder: Holder, attrs: ContactAttributes, callback: AsyncCallback
<
Array
<
Contact
>>
): void
...
...
@@ -2840,7 +2840,7 @@ queryContactsByEmail(email: string, holder: Holder, attrs: ContactAttributes, ca
});
```
## contact.queryContactsByEmail
## contact.queryContactsByEmail
<sup>10+<sup>
queryContactsByEmail(context: Context, email: string, holder?: Holder, attrs?: ContactAttributes): Promise
<
Array
<
Contact
>>
...
...
@@ -2939,7 +2939,7 @@ queryContactsByEmail(email: string, holder?: Holder, attrs?: ContactAttributes):
});
```
## contact.queryGroups
## contact.queryGroups
<sup>10+<sup>
queryGroups(context: Context, callback: AsyncCallback
<
Array
<
Group
>>
): void
...
...
@@ -3012,7 +3012,7 @@ queryGroups(callback: AsyncCallback<Array<Group>>): void
});
```
## contact.queryGroups
## contact.queryGroups
<sup>10+<sup>
queryGroups(context: Context, holder: Holder, callback: AsyncCallback
<
Array
<
Group
>>
): void
...
...
@@ -3095,7 +3095,7 @@ queryGroups(holder: Holder, callback: AsyncCallback<Array<Group>>):
});
```
## contact.queryGroups
## contact.queryGroups
<sup>10+<sup>
queryGroups(context: Context, holder?: Holder): Promise
<
Array
<
Group
>>
...
...
@@ -3186,7 +3186,7 @@ queryGroups(holder?: Holder): Promise<Array<Group>>
});
```
## contact.queryHolders
## contact.queryHolders
<sup>10+<sup>
queryHolders(context: Context, callback: AsyncCallback
<
Array
<
Holder
>>
): void
...
...
@@ -3259,7 +3259,7 @@ queryHolders(callback: AsyncCallback<Array<Holder>>): void
});
```
## contact.queryHolders
## contact.queryHolders
<sup>10+<sup>
queryHolders(context: Context ): Promise
<
Array
<
Holder
>>
...
...
@@ -3335,7 +3335,7 @@ queryHolders(): Promise<Array<Holder>>
});
```
## contact.queryKey
## contact.queryKey
<sup>10+<sup>
queryKey(context: Context, id: number, callback: AsyncCallback
<
string
>
): void
...
...
@@ -3410,7 +3410,7 @@ queryKey(id: number, callback: AsyncCallback<string>): void
});
```
## contact.queryKey
## contact.queryKey
<sup>10+<sup>
queryKey(context: Context, id: number, holder: Holder, callback: AsyncCallback
<
string
>
): void
...
...
@@ -3495,7 +3495,7 @@ queryKey(id: number, holder: Holder, callback: AsyncCallback<string>): voi
});
```
## contact.queryKey
## contact.queryKey
<sup>10+<sup>
queryKey(context: Context, id: number, holder?: Holder): Promise
<
string
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录