Package com.mapbox.maps.extension.observable.resourcerequest

Types

Error
Link copied to clipboard

The data class for error in Observer

data class Error(reason: String, message: String)
Request
Link copied to clipboard

The request data class that included in EventData

data class Request(loadingMethod: List<String>, url: String, kind: String, priority: String)
ResourceEventData
Link copied to clipboard

The data class for event data in Observer

data class ResourceEventData(dataSource: String, request: Request, response: Response, cancelled: Boolean)
Response
Link copied to clipboard

The response data class that included in EventData

data class Response(eTag: String, mustRevalidate: Boolean, noContent: Boolean, modified: String, source: String, notModified: Boolean, expires: String, size: Int, error: Error?)