FirebaseDynamicLinksPlatform class abstract
Defines an interface to work with Dynamic Links across platforms
- Inheritance
-
- Object
- PlatformInterface
- FirebaseDynamicLinksPlatform
Constructors
- FirebaseDynamicLinksPlatform({FirebaseApp? appInstance})
- Create an instance using app
- FirebaseDynamicLinksPlatform.instanceFor({required FirebaseApp app})
-
Create an instance using
app
using the existing implementationfactory
Properties
- app → FirebaseApp
-
Returns the
FirebaseApp
for the current instance.read-only - appInstance → FirebaseApp?
-
The
FirebaseApp
this instance was initialized with.final - hashCode → int
-
The hash code for this object.
read-onlyoverride
-
onLink
→ Stream<
PendingDynamicLinkData> -
Creates a stream for listening whenever a dynamic link becomes available
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
buildLink(
DynamicLinkParameters parameters) → Future< Uri> - Generate a long Dynamic Link URL.
-
buildShortLink(
DynamicLinkParameters parameters, {ShortDynamicLinkType shortLinkType = ShortDynamicLinkType.short}) → Future< ShortDynamicLink> - Generate a short Dynamic Link URL.
-
delegateFor(
{required FirebaseApp app}) → FirebaseDynamicLinksPlatform -
Enables delegates to create new instances of themselves if a none default
FirebaseApp
instance is required by the user. -
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Properties
- instance ↔ FirebaseDynamicLinksPlatform
-
The current default FirebaseDynamicLinksPlatform instance.
read / write