set Resource Transform
Sets a callback for transforming URLs requested from the internet
The callback will be executed on the main thread once for every requested URL.
Parameters
callback
the callback to be invoked or null to reset