FirebaseDynamicLinks class
Firebase Dynamic Links API.
You can get an instance by calling FirebaseDynamicLinks.instance.
- Inheritance
-
- Object
- PlatformInterface
- FirebasePluginPlatform
- FirebaseDynamicLinks
Properties
- app ↔ FirebaseApp
-
The
FirebaseApp
for this current FirebaseDynamicLinks instance.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
-
onLink
→ Stream<
PendingDynamicLinkData> -
Listen to a stream for the latest dynamic link events.
no setter
- pluginConstants → Map
-
Returns any plugin constants this plugin app instance has initialized.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildLink(
DynamicLinkParameters parameters) → Future< Uri> - Creates a Dynamic Link from the parameters.
-
buildShortLink(
DynamicLinkParameters parameters, {ShortDynamicLinkType shortLinkType = ShortDynamicLinkType.short}) → Future< ShortDynamicLink> - Creates a shortened Dynamic Link from the parameters.
-
getDynamicLink(
Uri url) → Future< PendingDynamicLinkData?> - Determine if the app has a pending dynamic link and provide access to the dynamic link parameters. A pending dynamic link may have been previously captured when a user clicked on a dynamic link, or may be present in the dynamicLinkUri parameter. If both are present, the previously captured dynamic link will take precedence. The captured data will be removed after first access.
-
getInitialLink(
) → Future< PendingDynamicLinkData?> - Attempts to retrieve the dynamic link which launched the app.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FirebaseDynamicLinks
-
Returns an instance using the default
FirebaseApp
.no setter
Static Methods
-
instanceFor(
{required FirebaseApp app}) → FirebaseDynamicLinks -
Returns an instance using a specified
FirebaseApp
. Note; multi-app support is only supported on android.