AndroidSettings class
The Android settings.
Sets the Android packageName. This will try to open the link in an android app if it is installed.
If installApp is passed, it specifies whether to install the Android app if the device supports it and the app is not already installed. If this field is provided without a packageName, an error is thrown explaining that the packageName must be provided in conjunction with this field.
If minimumVersion is specified, and an older version of the app is installed, the user is taken to the Play Store to upgrade the app.
- Annotations
-
- @JS()
- @anonymous
Constructors
- AndroidSettings({String packageName, String minimumVersion, bool installApp})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- installApp ↔ bool
-
getter/setter pair
- minimumVersion ↔ String
-
getter/setter pair
- packageName ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited