Builder for creating Dynamic Links.
| DynamicLink |
buildDynamicLink()
Creates a Dynamic Link from the parameters.
|
| Task<ShortDynamicLink> |
buildShortDynamicLink()
Creates a shortened Dynamic Link from the parameters.
|
| Task<ShortDynamicLink> |
buildShortDynamicLink(int suffix)
Creates a shortened Dynamic Link from the parameters.
|
| DynamicLink.Builder | |
| DynamicLink.Builder |
setDomainUriPrefix(String
domainUriPrefix)
Sets the domain uri prefix (of the form "//xyz.app.goo.gl", "//custom.com/xyz")
to use for this Dynamic Link.
|
| DynamicLink.Builder |
setDynamicLinkDomain(String
dynamicLinkDomain)
This method was deprecated. Use
setDomainUriPrefix(String) instead
|
| DynamicLink.Builder |
setGoogleAnalyticsParameters(DynamicLink.GoogleAnalyticsParameters
googleAnalyticsParameters)
Sets the Google Analytics parameters.
|
| DynamicLink.Builder | |
| DynamicLink.Builder |
setItunesConnectAnalyticsParameters(DynamicLink.ItunesConnectAnalyticsParameters
itunesConnectAnalyticsParameters)
Sets the iTunes Connect App Analytics parameters.
|
| DynamicLink.Builder | |
| DynamicLink.Builder | |
| DynamicLink.Builder |
setNavigationInfoParameters(DynamicLink.NavigationInfoParameters
navigationInfoParameters)
Sets the navigation info parameters.
|
| DynamicLink.Builder |
setSocialMetaTagParameters(DynamicLink.SocialMetaTagParameters
socialMetaTagParameters)
Sets the social meta-tag parameters.
|
Creates a Dynamic Link from the parameters.
| IllegalArgumentException | if the FDL domain is not set. Set with
setDynamicLinkDomain(String). |
|---|
Creates a shortened Dynamic Link from the parameters.
| IllegalArgumentException | if the FDL domain and api key are not set. Set FDL domain with
setDynamicLinkDomain(String). Ensure that google-services.json file is
setup for the app if the api key is not set. |
|---|
Creates a shortened Dynamic Link from the parameters.
| suffix | The desired length of the Dynamic Link. One of
UNGUESSABLE or
SHORT. |
|---|
| IllegalArgumentException | if the FDL domain and api key are not set. Set FDL domain with
setDynamicLinkDomain(String). Ensure that google-services.json file is
setup for the app if the api key is not set. |
|---|
Sets the Android parameters.
| androidParameters | The AndroidParameters from
build(). |
|---|
Sets the domain uri prefix (of the form "//xyz.app.goo.gl", "//custom.com/xyz") to use for this Dynamic Link.
| domainUriPrefix | The target project's Domain Uri Prefix. You can find this value in the Dynamic Links section of the Firebase console. |
|---|
This method was deprecated.
Use
setDomainUriPrefix(String) instead
Sets the domain (of the form "xyz.app.goo.gl") to use for this Dynamic Link. Only
applicable for *.page.link and *.app.goo.gl, use
setDomainUriPrefix(String) if domain is custom.
| dynamicLinkDomain | The target project's Dynamic Links domain. You can find this value in the Dynamic Links section of the Firebase console. |
|---|
Sets the Google Analytics parameters.
| googleAnalyticsParameters | The GoogleAnalyticsParameters from
build(). |
|---|
Sets the iOS parameters.
| iosParameters | The IosParameters from
build(). |
|---|
Sets the iTunes Connect App Analytics parameters.
| itunesConnectAnalyticsParameters | The ItunesConnectAnalyticsParameters from
build(). |
|---|
Set the deep link.
| link | The link your app will open. You can specify any URL your app can handle, such as a link to your app's content, or a URL that initiates some app-specific logic such as crediting the user with a coupon, or displaying a specific welcome screen. This link must be a well-formatted URL, be properly URL-encoded, and use the HTTP or HTTPS scheme. |
|---|
Set the long Dynamic Link. This can be used with
buildShortDynamicLink() to shorten an existing long FDL into a short
FDL.
| longLink | The long FDL to shorten. |
|---|
Sets the navigation info parameters.
| navigationInfoParameters | The NavigationInfoParameters from
build(). |
|---|
Sets the social meta-tag parameters.
| socialMetaTagParameters | The SocialMetaTagParameters from
build(). |
|---|