ShortDynamicLink

interfaceShortDynamicLink


This interface is deprecated.

Firebase Dynamic Links is deprecated and should not be used in new projects. The service will shut down on August 25, 2025. For more information, seeDynamic Links deprecation documentation.

Response frombuildShortDynamicLink 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])
annotationShortDynamicLink.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

operatorUri?

Destructuring declaration forShortDynamicLink to provide shortLink.

operatorUri?

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

operatorUri?

Destructuring declaration forShortDynamicLink to provide previewLink.

operatorUri?

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

operatorList<ShortDynamicLink.Warning>

Destructuring declaration forShortDynamicLink to provide warnings.

operatorList<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

Extension functions

component1

operator fun ShortDynamicLink.component1(): Uri?

Destructuring declaration forShortDynamicLink to provide shortLink.

component1

operator fun ShortDynamicLink.component1(): Uri?
This function is deprecated.
Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Destructuring declaration forShortDynamicLink to provide shortLink.

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

component2

operator fun ShortDynamicLink.component2(): Uri?

Destructuring declaration forShortDynamicLink to provide previewLink.

component2

operator fun ShortDynamicLink.component2(): Uri?
This function is deprecated.
Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration.

Destructuring declaration forShortDynamicLink to provide previewLink.

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

component3

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

Destructuring declaration forShortDynamicLink to provide warnings.

component3

operator fun ShortDynamicLink.component3(): 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.

Destructuring declaration forShortDynamicLink to provide warnings.

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.