java.lang.Object | |
↳ | com.google.firebase.dynamiclinks.DynamicLink.AndroidParameters.Builder |
Builder for Android parameters.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create Android parameters builder, using the package name of the calling app.
| |||||||||||
Create Android parameters builder.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Build Bundle for use with
setAndroidParameters(AndroidParameters) . | |||||||||||
Sets the link to open when the app isn't installed.
| |||||||||||
Sets the versionCode of the minimum version of your app that can open the link.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create Android parameters builder, using the package name of the calling app. The app must be connected to your project from the Overview page of the Firebase console.
Throws | |
---|---|
IllegalStateException |
if FirebaseApp has not been initialized correctly. |
See also:
Create Android parameters builder.
Parameters | |
---|---|
packageName |
String :
The package name of the Android app to use to open the link. The app
must be connected to your project from the Overview page of the Firebase console.
|
Build Bundle for use with setAndroidParameters(AndroidParameters)
.
Returns | |
---|---|
DynamicLink.AndroidParameters |
Sets the link to open when the app isn't installed. Specify this to do something other than install your app from the Play Store when the app isn't installed, such as open the mobile web version of the content, or display a promotional page for your app.
Parameters | |
---|---|
fallbackUrl |
Uri :
The link to open on Android if the app is not installed.
|
Returns | |
---|---|
DynamicLink.AndroidParameters.Builder |
Sets the versionCode of the minimum version of your app that can open the link.
Parameters | |
---|---|
minimumVersion |
int :
The minimum version.
|
Returns | |
---|---|
DynamicLink.AndroidParameters.Builder |