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
Inherited Method Summary
Public Constructors
public DynamicLink.SocialMetaTagParameters.Builder ()
Create social meta-tag parameter builder.
Public Methods
public DynamicLink.SocialMetaTagParameters build ()
Build SocialMetaTagParameters for use with
setSocialMetaTagParameters(SocialMetaTagParameters)
.
public String getDescription ()
Returns
- the meta-tag description.
public Uri getImageUrl ()
Returns
- the meta-tag image link.
public String getTitle ()
Returns
- the meta-tag title.
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. |
---|