System calls
assetsHandled - System
Since 5.5.0:
Marks the assets as having been handled so that the assets handler you registered using onAssetOta
will not be called on next boot.
Once the asset handler function sucessfully processes all assets, you will typically call the System.assetsHandled()
method.
Once you've marked the assets as handled, your asset handler function will not be called again until new assets are flashed to the device.
// PROTOTYPE
static int assetsHandled(bool state = true);
// EXAMPLE - Mark assets as handled
System.assetsHandled();
// Mark the asset handler as needing to run on next boot
System.assetHandled(false);