| java.lang.Object | |
| ↳ | com.google.firebase.auth.ActionCodeSettings.Builder |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ActionCodeSettings |
build()
Builds a new
ActionCodeSettings. | ||||||||||
| ActionCodeSettings.Builder |
setAndroidInstallApp(boolean androidInstallApp)
Specifies whether to install the Android app if the device supports it and the app is not
already installed.
| ||||||||||
| ActionCodeSettings.Builder |
setAndroidMinimumVersion(String androidMinimumVersion)
Sets the minimum version for Android app.
| ||||||||||
| ActionCodeSettings.Builder |
setAndroidPackageName(String androidPackageName)
Sets the Android package name of the app where the link should be handled if the
Android app is installed.
| ||||||||||
| ActionCodeSettings.Builder |
setDynamicLinkDomain(String dynamicLinkDomain)
Sets the dynamic link domain to use for the current link if it is to be opened using
Firebase Dynamic Links, as multiple dynamic link domains can be configured per project.
| ||||||||||
| ActionCodeSettings.Builder |
setHandleCodeInApp(boolean handleCodeInApp)
Specifies whether to open the link via a mobile app or a browser.
| ||||||||||
| ActionCodeSettings.Builder |
setIosBundleId(String iosBundleId)
Sets the bundle ID of the iOS app where the link should be handled if the
application is already installed on the device.
| ||||||||||
| ActionCodeSettings.Builder |
setUrl(String url)
Sets the link continue/state URL.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Builds a new ActionCodeSettings.
ActionCodeSettings.
Specifies whether to install the Android app if the device supports it and the app is not already installed.
| androidInstallApp | true to install the app, and false otherwise. |
|---|
Sets the minimum version for Android app. If the installed app is an older version, the user is taken to the Play Store to upgrade the app.
| androidMinimumVersion | Minimum version string. |
|---|
Sets the Android package name of the app where the link should be handled if the Android app is installed. Must be specified when setting other Android-specific settings.
| androidPackageName | Package name string. Must be specified, and must not be null or empty. |
|---|
Sets the dynamic link domain to use for the current link if it is to be opened using Firebase Dynamic Links, as multiple dynamic link domains can be configured per project. This setting provides the ability to explicitly choose one. If none is provided, the oldest domain is used by default.
| dynamicLinkDomain | Firebase Dynamic Link domain string. |
|---|
Specifies whether to open the link via a mobile app or a browser. The default is false. When set to true, the action code link is sent as a Universal Link or an Android App Link and is opened by the app if installed. In the false case, the code is sent to the web widget first and then redirects to the app if installed.
| handleCodeInApp | true to open the link in the app, and false otherwise. |
|---|
Sets the bundle ID of the iOS app where the link should be handled if the application is already installed on the device.
| iosBundleId | The iOS bundle ID string. |
|---|
Sets the link continue/state URL.
This parameter has different meanings in different contexts:
continueUrl query parameter.continueUrl query
parameter in the deep link of the Dynamic Link.This parameter must be specified when creating a new ActionCodeSettings instance.
| url | Continue/state URL string. |
|---|