AppLinks class
Android App Links, Deep Links, iOs Universal Links and Custom URL schemes handler
- Inheritance
-
- Object
- PlatformInterface
- AppLinksPlatform
- AppLinks
Constructors
- AppLinks({required OnAppLinkFunction onAppLink})
-
Constructor
You must provide a non-null
onAppLink
callback.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getInitialAppLink(
) → Future< Uri?> -
Gets the initial / first link
returns
Uri
ornull
override -
getInitialAppLinkString(
) → Future< String?> -
Gets the initial / first link
returns Uri as String or
null
override -
getLatestAppLink(
) → Future< Uri?> -
Gets the latest link
returns
Uri
ornull
override -
getLatestAppLinkString(
) → Future< String?> -
Gets the latest link
returns Uri as String or
null
override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onAppLink(
{required OnAppLinkFunction onAppLink}) → void -
Callback when your app is woke up by an incoming link
uri
andstringUri
are same value.stringUri
is available for custom handling like uppercased uri.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited