Sets the preview description displayed during social sharing.
zh
设置社交分享标识信息中的预览说明信息。
example
socialBuilder = new huawei.agc.applinking.SocialCardInfo();
socialBuilder.setDescription('itisaexample');
Parameters
desc: string
Preview description displayed during social sharing.
Returns void
setImageUrl
setImageUrl(url: string): void
en
Sets the address of the preview image displayed during social sharing.
zh
设置社交分享标识信息中的预览图片地址。
example
let socialBuilder = new huawei.agc.applinking.SocialCardInfo();
socialBuilder.setImageUrl('http://lcywzm.cn/temp/huatu1/res/avg/fc/fcd923bf-ab2b-4a2a-87cd-0cdc647ba006.1e14a.jpg');
Parameters
url: string
Address of the preview image displayed during social sharing.
Returns void
setTitle
setTitle(title: string): void
en
Sets the address of the preview title displayed during social sharing.
Generates social sharing identifier information
生成社交分享标识信息