Package com.google.maps.android.data.kml
Interface KmlUrlSanitizer
-
- All Implemented Interfaces:
public interface KmlUrlSanitizerInterface for sanitizing URLs in KML documents. Developers can implement this to control which external resources (images, etc.) are loaded.
-
-
Method Summary
Modifier and Type Method Description abstract StringsanitizeUrl(String url)Sanitizes a URL before it is used to fetch a resource. -
-
Method Detail
-
sanitizeUrl
abstract String sanitizeUrl(String url)
Sanitizes a URL before it is used to fetch a resource.
- Parameters:
url- The raw URL from the KML.- Returns:
A safe, validated URL string, or null to block this resource.
-
-
-
-