com.google.firebase.dynamiclinks.ktx
Stay organized with collections
Save and categorize content based on your preferences.
Extension functions summary
Unit |
This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Unit |
DynamicLink.Builder. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
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? |
This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
operator Int |
This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
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 Long |
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> |
This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
DynamicLink |
FirebaseDynamicLinks. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
FirebaseDynamicLinks |
Firebase.dynamicLinks(app: FirebaseApp) Accessing this object for Kotlin apps has changed; see the migration guide. |
Unit |
DynamicLink.Builder. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Unit |
DynamicLink.Builder. This function is deprecated. com.google.firebase.dynam |
Unit |
DynamicLink.Builder. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Unit |
DynamicLink.Builder. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Unit |
DynamicLink.Builder. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Task<ShortDynamicLink> |
FirebaseDynamicLinks. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Task<ShortDynamicLink> |
FirebaseDynamicLinks. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Unit |
DynamicLink.Builder. This function is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration. |
Extension properties summary
FirebaseDynamicLinks |
Accessing this object for Kotlin apps has changed; see the migration guide. |
Extension functions
androidParameters
fun DynamicLink.Builder.androidParameters(init: DynamicLink.AndroidParameters.Builder.() -> Unit): Unit
Creates a DynamicLink.AndroidParameters
object initialized using the init
function and sets it to the DynamicLink.Builder
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
androidParameters
fun DynamicLink.Builder.androidParameters(
packageName: String,
init: DynamicLink.AndroidParameters.Builder.() -> Unit
): Unit
Creates a DynamicLink.AndroidParameters
object initialized with the specified packageName
and using the init
function and sets it to the DynamicLink.Builder
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
component1
operator fun PendingDynamicLinkData.component1(): Uri?
Destructuring declaration for PendingDynamicLinkData
to provide link.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
component1
operator fun ShortDynamicLink.component1(): Uri?
Destructuring declaration for ShortDynamicLink
to provide shortLink.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
component2
operator fun PendingDynamicLinkData.component2(): Int
Destructuring declaration for PendingDynamicLinkData
to provide minimumAppVersion.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
component2
operator fun ShortDynamicLink.component2(): Uri?
Destructuring declaration for ShortDynamicLink
to provide previewLink.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
component3
operator fun PendingDynamicLinkData.component3(): Long
Destructuring declaration for PendingDynamicLinkData
to provide clickTimestamp.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
component3
operator fun ShortDynamicLink.component3(): List<ShortDynamicLink.Warning>
Destructuring declaration for ShortDynamicLink
to provide warnings.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
dynamicLink
fun FirebaseDynamicLinks.dynamicLink(init: DynamicLink.Builder.() -> Unit): DynamicLink
Creates a DynamicLink
object initialized using the init
function.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
dynamicLinks
fun Firebase.dynamicLinks(app: FirebaseApp): FirebaseDynamicLinks
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseDynamicLinks
instance of a given FirebaseApp
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
googleAnalyticsParameters
fun DynamicLink.Builder.googleAnalyticsParameters(init: DynamicLink.GoogleAnalyticsParameters.Builder.() -> Unit): Unit
Creates a DynamicLink.GoogleAnalyticsParameters
object initialized using the init
function and sets it to the DynamicLink.Builder
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
googleAnalyticsParameters
fun DynamicLink.Builder.googleAnalyticsParameters(
source: String,
medium: String,
campaign: String,
init: DynamicLink.GoogleAnalyticsParameters.Builder.() -> Unit
): Unit
Creates a DynamicLink.GoogleAnalyticsParameters
object initialized with the specified source
, medium
, campaign
and using the init
function and sets it to the DynamicLink.Builder
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
iosParameters
fun DynamicLink.Builder.iosParameters(bundleId: String, init: DynamicLink.IosParameters.Builder.() -> Unit): Unit
Creates a DynamicLink.IosParameters
object initialized with the specified bundleId
and using the init
function and sets it to the DynamicLink.Builder
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
itunesConnectAnalyticsParameters
fun DynamicLink.Builder.itunesConnectAnalyticsParameters(init: DynamicLink.ItunesConnectAnalyticsParameters.Builder.() -> Unit): Unit
Creates a DynamicLink.ItunesConnectAnalyticsParameters
object initialized using the init
function and sets it to the DynamicLink.Builder
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
navigationInfoParameters
fun DynamicLink.Builder.navigationInfoParameters(init: DynamicLink.NavigationInfoParameters.Builder.() -> Unit): Unit
Creates a DynamicLink.NavigationInfoParameters
object initialized using the init
function and sets it to the DynamicLink.Builder
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
shortLinkAsync
fun FirebaseDynamicLinks.shortLinkAsync(init: DynamicLink.Builder.() -> Unit): Task<ShortDynamicLink>
Creates a ShortDynamicLink
object initialized using the init
function.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
shortLinkAsync
fun FirebaseDynamicLinks.shortLinkAsync(suffix: Int, init: DynamicLink.Builder.() -> Unit): Task<ShortDynamicLink>
Creates a ShortDynamicLink
object initialized using the init
function.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
socialMetaTagParameters
fun DynamicLink.Builder.socialMetaTagParameters(init: DynamicLink.SocialMetaTagParameters.Builder.() -> Unit): Unit
Creates a DynamicLink.SocialMetaTagParameters
object initialized using the init
function and sets it to the DynamicLink.Builder
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.
Extension properties
dynamicLinks
val Firebase.dynamicLinks: FirebaseDynamicLinks
Accessing this object for Kotlin apps has changed; see the migration guide.
Returns the FirebaseDynamicLinks
instance of the default FirebaseApp
.
Important In July 2025, we stopped releasing KTX modules and removed the KTX libraries from the Firebase Android BoM (v34.0.0). If you use KTX APIs from the KTX modules, we recommend that you migrate your app to use KTX APIs from the main modules instead. For details, see the FAQ about this initiative.