public static class ProfileCard.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
ProfileCard.Builder |
avatarKey(String avatarKey)
头像
示例值:123123123
|
ProfileCard.Builder |
backgroundImageKey(String backgroundImageKey)
背景图
示例值:12312123123
|
ProfileCard |
build() |
ProfileCard.Builder |
contacts(Credential[] contacts)
联系方式
示例值:
|
ProfileCard.Builder |
description(I18nText description)
i18n文本
示例值:
|
ProfileCard.Builder |
isCustomAvatar(Boolean isCustomAvatar)
是否自定义头像
示例值:
|
ProfileCard.Builder |
name(I18nText name)
i18n文本
示例值:
|
public ProfileCard.Builder name(I18nText name)
示例值:
name - public ProfileCard.Builder contacts(Credential[] contacts)
示例值:
contacts - public ProfileCard.Builder avatarKey(String avatarKey)
示例值:123123123
avatarKey - public ProfileCard.Builder isCustomAvatar(Boolean isCustomAvatar)
示例值:
isCustomAvatar - public ProfileCard.Builder description(I18nText description)
示例值:
description - public ProfileCard.Builder backgroundImageKey(String backgroundImageKey)
示例值:12312123123
backgroundImageKey - public ProfileCard build()
Copyright © 2026. All rights reserved.