VerifiedMarkers

Remembers which pack versions passed the integrity check, so a version is hashed once. Back it with persistent settings to hash once per install instead of once per launch. AssetPacks calls it under its own lock, so an implementation need not be thread-safe.

Inheritors

Functions

Link copied to clipboard
open fun clear(packId: String)

Forgets every verified version of packId; called when the pack is removed.

Link copied to clipboard
abstract fun isVerified(packId: String, version: Int): Boolean
Link copied to clipboard
abstract fun markVerified(packId: String, version: Int)