setResourcesCachePath

Changes the path of the resources cache database.

The callback reference is strongly kept throughout the process, so it needs to be wrapped in a weak reference or released on the client side if necessary.

Parameters

path

the new database path

callback

the callback to obtain the result


Deprecated

Changes the path of the resources cache database.

The callback reference is strongly kept throughout the process, so it needs to be wrapped in a weak reference or released on the client side if necessary.

Deprecated

Use setResourcesCachePath

Parameters

context

the context of the path

path

the new database path

callback

the callback to obtain the result