ShortDynamicLink

interface ShortDynamicLink


Response from buildShortDynamicLink that returns the shortened Dynamic Link, link flow chart, and warnings from the requested Dynamic Link.

Summary

Nested types

@Retention(value = RetentionPolicy.SOURCE)
@IntDef(value = [Suffix.UNGUESSABLE, Suffix.SHORT])
annotation ShortDynamicLink.Suffix

Path generation option for short Dynamic Link length

This interface is deprecated.

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

Public functions

Uri?

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.

(Mutable)List<ShortDynamicLink.Warning!>

This function is deprecated.

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

Extension functions

operator Uri?

Destructuring declaration for ShortDynamicLink to provide shortLink.

operator Uri?

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator Uri?

Destructuring declaration for ShortDynamicLink to provide previewLink.

operator Uri?

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

operator List<ShortDynamicLink.Warning>

Destructuring declaration for ShortDynamicLink to provide warnings.

operator List<ShortDynamicLink.Warning>

This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Public functions

getPreviewLink

fun getPreviewLink(): Uri?

Gets the preview link to show the link flow chart.

getShortLink

fun getShortLink(): Uri?

Gets the short Dynamic Link value.

getWarnings

fun getWarnings(): (Mutable)List<ShortDynamicLink.Warning!>

Gets information about potential warnings on link creation.

Extension functions

component1

operator fun ShortDynamicLink.component1(): Uri?

Destructuring declaration for ShortDynamicLink to provide shortLink.

component1

operator fun ShortDynamicLink.component1(): Uri?

Destructuring declaration for ShortDynamicLink to provide shortLink.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-dynamic-links-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

component2

operator fun ShortDynamicLink.component2(): Uri?

Destructuring declaration for ShortDynamicLink to provide previewLink.

component2

operator fun ShortDynamicLink.component2(): Uri?

Destructuring declaration for ShortDynamicLink to provide previewLink.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-dynamic-links-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.

component3

operator fun ShortDynamicLink.component3(): List<ShortDynamicLink.Warning>

Destructuring declaration for ShortDynamicLink to provide warnings.

component3

operator fun ShortDynamicLink.component3(): List<ShortDynamicLink.Warning>

Destructuring declaration for ShortDynamicLink to provide warnings.

Deprecation Notice: The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in com.google.firebase.firebase-dynamic-links-ktx are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the FAQ about this initiative.