DynamicLink.SocialMetaTagParameters.Builder

public final class DynamicLink.SocialMetaTagParameters.Builder


Builder for social meta-tag parameters.

Summary

Public constructors

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

Public methods

@NonNull DynamicLink.SocialMetaTagParameters

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

@NonNull String

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

@NonNull Uri

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

@NonNull String

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

@NonNull DynamicLink.SocialMetaTagParameters.Builder

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

@NonNull DynamicLink.SocialMetaTagParameters.Builder
setImageUrl(@NonNull Uri imageUrl)

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

@NonNull DynamicLink.SocialMetaTagParameters.Builder

This method is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects.

Public constructors

Builder

public Builder()

Create social meta-tag parameter builder.

Public methods

build

public @NonNull DynamicLink.SocialMetaTagParameters build()

Build SocialMetaTagParameters for use with setSocialMetaTagParameters.

getDescription

public @NonNull String getDescription()

Returns the meta-tag description.

Returns
@NonNull String

the meta-tag description.

getImageUrl

public @NonNull Uri getImageUrl()

Returns the meta-tag image link.

Returns
@NonNull Uri

the meta-tag image link.

getTitle

public @NonNull String getTitle()

Returns the meta-tag title.

Returns
@NonNull String

the meta-tag title.

setDescription

public @NonNull DynamicLink.SocialMetaTagParameters.Builder setDescription(@NonNull String description)

Sets the meta-tag description.

Parameters
@NonNull String description

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

setImageUrl

public @NonNull DynamicLink.SocialMetaTagParameters.Builder setImageUrl(@NonNull Uri imageUrl)

Sets the meta-tag image link.

Parameters
@NonNull Uri imageUrl

The URL to an image related to this link.

setTitle

public @NonNull DynamicLink.SocialMetaTagParameters.Builder setTitle(@NonNull String title)

Sets the meta-tag title.

Parameters
@NonNull String title

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