DynamicLink.SocialMetaTagParameters.Builder

class DynamicLink.SocialMetaTagParameters.Builder


Builder for social meta-tag parameters.

Summary

Public constructors

This function is deprecated.

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

Public functions

DynamicLink.SocialMetaTagParameters

This function is deprecated.

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

String

This function is deprecated.

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

Uri

This function is deprecated.

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

String

This function is deprecated.

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

DynamicLink.SocialMetaTagParameters.Builder
setDescription(description: String)

This function is deprecated.

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

DynamicLink.SocialMetaTagParameters.Builder
setImageUrl(imageUrl: Uri)

This function is deprecated.

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

DynamicLink.SocialMetaTagParameters.Builder
setTitle(title: String)

This function is deprecated.

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

Public constructors

Builder

Builder()

Create social meta-tag parameter builder.

Public functions

build

fun build(): DynamicLink.SocialMetaTagParameters

Build SocialMetaTagParameters for use with setSocialMetaTagParameters.

getDescription

fun getDescription(): String

Returns the meta-tag description.

Returns
String

the meta-tag description.

getImageUrl

fun getImageUrl(): Uri

Returns the meta-tag image link.

Returns
Uri

the meta-tag image link.

getTitle

fun getTitle(): String

Returns the meta-tag title.

Returns
String

the meta-tag title.

setDescription

fun setDescription(description: String): DynamicLink.SocialMetaTagParameters.Builder

Sets the meta-tag description.

Parameters
description: String

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

setImageUrl

fun setImageUrl(imageUrl: Uri): DynamicLink.SocialMetaTagParameters.Builder

Sets the meta-tag image link.

Parameters
imageUrl: Uri

The URL to an image related to this link.

setTitle

fun setTitle(title: String): DynamicLink.SocialMetaTagParameters.Builder

Sets the meta-tag title.

Parameters
title: String

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