Skip to main content

RemoveHostCache

AndroidiOSWindows
If you were looking for the method for use with Unity, see RemoveHostCache for Unity SDK.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
public static void RemoveHostCache(const FString host);

Input parameters

ParameterTypeDescription
hostFStringDomain
Determine whether to clear all cache or the host cache based on host

Code sample

// Clear cache under the specified domain
UINTLSDKAPI::RemoveHostCache("www.qq.com");
// Clear all cache
UINTLSDKAPI::RemoveHostCache();