dynamic_links::
Base class used to receive Dynamic Links.
Structs | |
---|---|
firebase:: | Android Parameters. |
firebase:: | The received Dynamic Link. |
firebase:: | The information needed to generate a Dynamic Link. |
firebase:: | Additional options for Dynamic Link creation. |
firebase:: | The returned value from creating a Dynamic Link. |
firebase:: | Google Analytics Parameters. |
firebase:: | iOS Parameters. |
firebase:: | iTunes Connect App Analytics Parameters. |
firebase:: | Social meta-tag Parameters. |
ErrorCode
Error code used by Futures returned by this API.
LinkMatchStrength
Enum describing the strength of a dynamic links match.
This version is local to dynamic links; there is a similar enum in invites and another internal version in app.
PathLength
The desired path length for shortened Dynamic Link URLs.
Properties | |
---|---|
kPathLengthDefault | Uses the server-default for the path length. See https://goo.gl/8yDAqC for more information. |
kPathLengthShort | Typical short link for non-sensitive links. |
kPathLengthUnguessable | Short link that uses a very long path to make it more difficult to guess. Useful for sensitive links. |
voidFetch()
Fetch any pending dynamic links.
Each pending link will trigger a call to the registered Listener class.
This function is implicitly called on initialization. On iOS this is called automatically when the app gains focus, but on Android this needs to be called manually.
Deprecated. Dynamic Links is now deprecated. Please see the support documentation at https://firebase.google.com/support/dynamic-links-faq for more information.
GeneratedDynamicLinkGetLongLink(constDynamicLinkComponents&components)
Creates a long Dynamic Link from the given parameters.
Future<GeneratedDynamicLink>GetShortLink(constDynamicLinkComponents&components)
Creates a shortened Dynamic Link from the given parameters.
Details | |||
---|---|---|---|
Parameters |
|
Future<GeneratedDynamicLink>GetShortLink(constDynamicLinkComponents&components,constDynamicLinkOptions&options)
Creates a shortened Dynamic Link from the given parameters.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
Future<GeneratedDynamicLink>GetShortLink(constchar*long_dynamic_link)
Creates a shortened Dynamic Link from a given long Dynamic Link.
Details | |||
---|---|---|---|
Parameters |
|
Future<GeneratedDynamicLink>GetShortLink(constchar*long_dynamic_link,constDynamicLinkOptions&options)
Creates a shortened Dynamic Link from a given long Dynamic Link.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
Future<GeneratedDynamicLink>GetShortLinkLastResult()
Get the (possibly still pending) results of the most recent GetShortUrl call.
InitResultInitialize(constApp&app,Listener*listener)
Initialize Firebase Dynamic Links.
After Initialize is called, the implementation may call functions on the Listener provided at any time.
Deprecated. Dynamic Links is now deprecated. Please see the support documentation at https://firebase.google.com/support/dynamic-links-faq for more information.
Details | |||||
---|---|---|---|---|---|
Parameters |
| ||||
Returns | kInitResultSuccess if initialization succeeded, or kInitResultFailedMissingDependency on Android if Google Play services is not available on the current device. |
Listener*SetListener(Listener*listener)
Set the listener for receiving Dynamic Links.
Deprecated. Dynamic Links is now deprecated. Please see the support documentation at https://firebase.google.com/support/dynamic-links-faq for more information.
Details | |||
---|---|---|---|
Parameters |
| ||
Returns | Pointer to the previously set listener. |
voidTerminate()
Terminate Firebase Dynamic Links.
Deprecated. Dynamic Links is now deprecated. Please see the support documentation at https://firebase.google.com/support/dynamic-links-faq for more information.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-01-23 UTC.