DynamicLink.SocialMetaTagParameters.Builder

public static final class DynamicLink.SocialMetaTagParameters.Builder extends Object

Builder for social meta-tag parameters.

Public Constructor Summary

DynamicLink.SocialMetaTagParameters.Builder()
Create social meta-tag parameter builder.

Public Method Summary

DynamicLink.SocialMetaTagParameters
build()
Build SocialMetaTagParameters for use with setSocialMetaTagParameters(SocialMetaTagParameters).
DynamicLink.SocialMetaTagParameters.Builder
setDescription(String description)
Sets the meta-tag description.
DynamicLink.SocialMetaTagParameters.Builder
setImageUrl(Uri imageUrl)
Sets the meta-tag image link.
DynamicLink.SocialMetaTagParameters.Builder
setTitle(String title)
Sets the meta-tag title.

Inherited Method Summary

Public Constructors

public DynamicLink.SocialMetaTagParameters.Builder ()

Create social meta-tag parameter builder.

Public Methods

public DynamicLink.SocialMetaTagParameters.Builder setDescription (String description)

Sets the meta-tag description.

Parameters
description The description to use when the Dynamic Link is shared in a social post.

public DynamicLink.SocialMetaTagParameters.Builder setImageUrl (Uri imageUrl)

Sets the meta-tag image link.

Parameters
imageUrl The URL to an image related to this link.

public DynamicLink.SocialMetaTagParameters.Builder setTitle (String title)

Sets the meta-tag title.

Parameters
title The title to use when the Dynamic Link is shared in a social post.

Send feedback about...

Need help? Visit our support page.