Package com.trimblemaps.mapsdk.storage
Interface FileSource.ResourceTransformCallback
- Enclosing class:
- FileSource
public static interface FileSource.ResourceTransformCallback
This callback allows implementors to transform URLs before they are requested
from the internet. This can be used add or remove custom parameters, or reroute
certain requests to other servers or endpoints.
-
Method Summary
-
Method Details
-
onURL
Called whenever a URL needs to be transformed.- Parameters:
kind- the kind of URL to be transformed.url- the URL to be transformed- Returns:
- a URL that will now be downloaded.
-