PlayInAppUpdate class
High-level wrapper that hides direct JNI usage from Flutter apps.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkForUpdate(
) → Future< InAppUpdateInfo> - Checks Play Core for update availability and caches the info for later flows.
-
completeFlexibleUpdate(
) → Future< void> - Completes a previously downloaded FLEXIBLE update.
-
dispose(
) → void -
Releases native resources. Call from
disposein your widgets. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
startFlexibleUpdate(
{InstallStateCallback? onState}) → Future< void> - Starts the FLEXIBLE update flow and reports state changes.
-
startImmediateUpdate(
) → Future< void> - Starts the IMMEDIATE update flow.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
{int? engineId}) → Future< PlayInAppUpdate> - Creates a wrapper by obtaining the Android application context.