目录

ResolvedLinkData

Interface Info

public class ResolvedLinkData

聚合链接数据包装类。

Method Summary

Qualifier and Type

Method Name and Description

long

getClickTimestamp()

聚合链接被点击的时间。

Uri

getDeepLink()

聚合链接链接地址中的深度链接地址。

long

getMinimumAppVersion()

获取访问链接所需的应用的最低版本号。

说明:

此方法已废弃,不推荐使用。

String

getSocialTitle()

获取链接社交标题。

String

getSocialDescription()

获取链接社交描述。

String

getSocialImageUrl()

获取链接社交图片。

String

getCampaignName()

获取链接活动名称。

String

getCampaignMedium()

获取链接活动媒介。

String

getCampaignSource()

获取链接活动来源。

LinkType

getLinkType()

获取链接类型。

String

getInstallSource()

获取安装途径。

Methods

[h2]getClickTimestamp

Method

public long getClickTimestamp()

聚合链接被点击的时间。

Returns

Type

Description

long

聚合链接点击的时间戳,即点击时间距离1970年1月1日0点的毫秒数。

[h2]getDeepLink

Method

public Uri getDeepLink()

获取聚合链接中包含的深度链接地址。

Returns

Type

Description

Uri

聚合链接中包含的深度链接地址。

[h2]getMinimumAppVersion

Method

public long getMinimumAppVersion()

获取访问链接所需的应用的最低版本号。

此方法已废弃,不推荐使用。

Returns

Type

Description

long

应用的Android版本号。

返回默认值0。

[h2]getSocialTitle

Method

public String getSocialTitle()

获取链接社交卡片标题。

Returns

Type

Description

String

获取链接社交卡片标题。

[h2]getSocialDescription

Method

public String getSocialDescription()

获取链接社交卡片描述信息。

Returns

Type

Description

String

获取链接社交卡片描述信息。

[h2]getSocialImageUrl

Method

public String getSocialImageUrl()

获取链接社交卡片图片。

Returns

Type

Description

String

获取链接社交卡片图片。

[h2]getCampaignName

Method

public String getCampaignName()

获取链接活动名称。

Returns

Type

Description

String

获取链接活动名称。

[h2]getCampaignMedium

Method

public String getCampaignMedium()

获取链接活动媒介。

Returns

Type

Description

String

获取链接活动媒介。

[h2]getCampaignSource

Method

public String getCampaignSource()

获取链接活动来源。

Returns

Type

Description

String

获取链接活动来源。

[h2]getLinkType

Method

public LinkType getLinkType()

获取链接类型。

Returns

Type

Description

LinkType

链接类型。

[h2]getInstallSource

Method

public String getInstallSource()

获取安装途径。

Returns

Type

Description

String

安装途径,AG对应AppGallery,GP对应Google Play。