Represents the data class of AppLinking
AppLinking 数据包装类
Obtains the campaign medium.
获取链接活动媒介。
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getCampaignMedium: ', data.getCampaignMedium()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
Obtains the campaign name displayed during social sharing.
获取链接活动名称。
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getCampaignName: ', data.getCampaignName()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
Obtains the campaign source.
获取链接活动来源。
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getCampaignSource: ', data.getCampaignSource()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
Obtains the time when a link of AppLinking is tapped.
获取 AppLinking 被点击的时间
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getClickTimestamp: ', data.getClickTimestamp()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
Obtains the deep link contained in a link of AppLinking.
获取 AppLinking 中包含的 DeepLink 地址
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getDeepLink: ', data.getDeepLink()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
Obtains the earliest version of an app where a link of AppLinking can be properly opened.
获取访问链接所需的应用的最低版本号
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getMinimumAppVersion: ', data.getMinimumAppVersion()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
earliest version of an app
Obtains the card description of a link of App Linking displayed during social sharing.
获取链接社交卡片描述信息。
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getSocialTitle: ', data.getSocialTitle()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
Obtains the image of a link of App Linking displayed during social sharing.
获取链接社交卡片图片。
huawei.agc.applinking.appLinkingService.on(huawei.agc.applinking.AGC_APP_LINKING_EVENT_LISTENER_NAME.RECEIVE_LINK_CALLBACK, (data) => { if (data.code === 1) { console.log('getSocialImageUrl: ', data.getSocialImageUrl()); } }, this); huawei.agc.applinking.appLinkingService.getAppLinking();
Card title of a link of App Linking displayed during social sharing.
获取链接社交卡片标题。
Generated using TypeDoc
Represents the data class of AppLinking
AppLinking 数据包装类