/*** Gets the list of cached mini programs (under all accounts)* Note: Only supported when called in the main process.* @param callback Callback for the list*/public static void getMiniAppCacheForAllUser(ICallback<List<MiniApp>> callback)
/*** Gets the data cache size of a specified mini program (under all accounts and in all versions)* Note: This API involves IO operations, please call it in a sub-thread.* Note: Only supported when called in the main process.* @param appId Mini program appid* @return Size in bytes*/public static long getMiniAppCacheSizeForAllUser(String appId)
/*** Gets the code package size of a specified mini program (under all accounts and in all versions)* Note: This API involves IO operations, please call it in a sub-thread.* Note: Only supported when called in the main process.* @param appId Mini program appid* @return Size in bytes*/public static long getMiniAppPkgSizeForAllUser(String appId)
/*** Deletes the data cache of a specified mini program (under all accounts and in all versions)* Note: This API involves IO operations, please call it in a sub-thread.* Note: Only supported when called in the main process.* @param appId*/public static void clearMiniAppCacheForAllUser(String appId)
/*** Deletes the code package of a specified mini program (under all accounts and in all versions)* Note: This API involves IO operations, please call it in a sub-thread.* Note: Only supported when called in the main process.* @param appId Mini program appid*/public static void clearMiniAppPkgForAllUser(String appId)
/*** Deletes the cache and code package of a specified mini program (under all accounts and in all versions)* Note: This API involves IO operations, please call it in a sub-thread.* Note: Only supported when called in the main process.* @param appId*/public static void deleteMiniAppForAllUser(String appId)
Feedback