FirebaseDynamicLinksKt

public final class FirebaseDynamicLinksKt


Summary

Public fields

final @NonNull FirebaseDynamicLinks

Accessing this object for Kotlin apps has changed; see the migration guide.

Public methods

static final void

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

static final void

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

static final Uri

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

static final Uri

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

static final int

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

static final Uri

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

static final long

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

static final @NonNull List<@NonNull ShortDynamicLink.Warning>

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

static final @NonNull DynamicLink

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

static final @NonNull FirebaseDynamicLinks

Accessing this object for Kotlin apps has changed; see the migration guide.

static final void

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

static final void

This method is deprecated. com.google.firebase.dynam

static final void

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

static final void

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

static final void

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

static final @NonNull Task<@NonNull ShortDynamicLink>

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

static final @NonNull Task<@NonNull ShortDynamicLink>

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

static final void

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

Public fields

dynamicLinks

public final @NonNull FirebaseDynamicLinks dynamicLinks

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.

Public methods

FirebaseDynamicLinksKt.androidParameters

public static final void FirebaseDynamicLinksKt.androidParameters(
    @NonNull DynamicLink.Builder receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.AndroidParameters.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.androidParameters

public static final void FirebaseDynamicLinksKt.androidParameters(
    @NonNull DynamicLink.Builder receiver,
    @NonNull String packageName,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.AndroidParameters.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.component1

public static final Uri FirebaseDynamicLinksKt.component1(
    @NonNull PendingDynamicLinkData receiver
)

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.

FirebaseDynamicLinksKt.component1

public static final Uri FirebaseDynamicLinksKt.component1(@NonNull ShortDynamicLink receiver)

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.

FirebaseDynamicLinksKt.component2

public static final int FirebaseDynamicLinksKt.component2(
    @NonNull PendingDynamicLinkData receiver
)

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.

FirebaseDynamicLinksKt.component2

public static final Uri FirebaseDynamicLinksKt.component2(@NonNull ShortDynamicLink receiver)

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.

FirebaseDynamicLinksKt.component3

public static final long FirebaseDynamicLinksKt.component3(
    @NonNull PendingDynamicLinkData receiver
)

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.

FirebaseDynamicLinksKt.component3

public static final @NonNull List<@NonNull ShortDynamicLink.WarningFirebaseDynamicLinksKt.component3(@NonNull ShortDynamicLink receiver)

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.

FirebaseDynamicLinksKt.dynamicLink

public static final @NonNull DynamicLink FirebaseDynamicLinksKt.dynamicLink(
    @NonNull FirebaseDynamicLinks receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.dynamicLinks

public static final @NonNull FirebaseDynamicLinks FirebaseDynamicLinksKt.dynamicLinks(
    @NonNull Firebase receiver,
    @NonNull FirebaseApp app
)

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.

FirebaseDynamicLinksKt.googleAnalyticsParameters

public static final void FirebaseDynamicLinksKt.googleAnalyticsParameters(
    @NonNull DynamicLink.Builder receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.GoogleAnalyticsParameters.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.googleAnalyticsParameters

public static final void FirebaseDynamicLinksKt.googleAnalyticsParameters(
    @NonNull DynamicLink.Builder receiver,
    @NonNull String source,
    @NonNull String medium,
    @NonNull String campaign,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.GoogleAnalyticsParameters.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.iosParameters

public static final void FirebaseDynamicLinksKt.iosParameters(
    @NonNull DynamicLink.Builder receiver,
    @NonNull String bundleId,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.IosParameters.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.itunesConnectAnalyticsParameters

public static final void FirebaseDynamicLinksKt.itunesConnectAnalyticsParameters(
    @NonNull DynamicLink.Builder receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.ItunesConnectAnalyticsParameters.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.navigationInfoParameters

public static final void FirebaseDynamicLinksKt.navigationInfoParameters(
    @NonNull DynamicLink.Builder receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.NavigationInfoParameters.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.shortLinkAsync

public static final @NonNull Task<@NonNull ShortDynamicLinkFirebaseDynamicLinksKt.shortLinkAsync(
    @NonNull FirebaseDynamicLinks receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.shortLinkAsync

public static final @NonNull Task<@NonNull ShortDynamicLinkFirebaseDynamicLinksKt.shortLinkAsync(
    @NonNull FirebaseDynamicLinks receiver,
    int suffix,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.BuilderUnit> init
)

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.

FirebaseDynamicLinksKt.socialMetaTagParameters

public static final void FirebaseDynamicLinksKt.socialMetaTagParameters(
    @NonNull DynamicLink.Builder receiver,
    @ExtensionFunctionType @NonNull Function1<@NonNull DynamicLink.SocialMetaTagParameters.BuilderUnit> init
)

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.