BloomUpdateClientAdapter class abstract
Network and platform adapter contract for fetching and applying OTA updates.
- Implementers
Constructors
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
-
checkServerForUpdate(
{required String channel, required String branch, required String runtimeFingerprint, required String deviceId}) → Future< UpdateManifest?> -
Queries the update server for an available update manifest matching
channel,branch, andruntimeFingerprint. -
downloadPatchAssets(
{required UpdateManifest manifest, required void onProgress(double progress)}) → Future< bool> -
Downloads patch binary assets with
onProgressreporting. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
purgeActivePatch(
) → Future< void> - Purges active staged patch from local storage.
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerAppReload(
) → Future< void> - Triggers runtime reload or hot restart to apply staged patch.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited