Package com.mapbox.maps.extension.observable.model

Types

DataSourceType
Link copied to clipboard

Describes data source of request for resource-request event.

enum DataSourceType : Enum<DataSourceType>
Error
Link copied to clipboard

The data class for error in Observer

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

Describes an error type while loading the map. Defines what resource could not be loaded.

enum MapLoadErrorType : Enum<MapLoadErrorType>
RenderMode
Link copied to clipboard

Describes whether a map or frame has been fully rendered or not.

enum RenderMode : Enum<RenderMode>
Request
Link copied to clipboard

The request data class that included in EventData

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

Describes priority for request object.

enum RequestPriority : Enum<RequestPriority>
RequestType
Link copied to clipboard

Describes type for request object.

enum RequestType : Enum<RequestType>
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: ResponseSourceType, notModified: Boolean, expires: String?, size: Int, error: Error?)
ResponseErrorReason
Link copied to clipboard

Describes the reason of Error for response object.

enum ResponseErrorReason : Enum<ResponseErrorReason>
ResponseSourceType
Link copied to clipboard

Describes source data type for response in resource-request event.

enum ResponseSourceType : Enum<ResponseSourceType>
SourceDataType
Link copied to clipboard

Defines what kind of source data has been loaded in a source-data-loaded event.

enum SourceDataType : Enum<SourceDataType>
StyleDataType
Link copied to clipboard

Defines what kind of style data has been loaded in a style-data-loaded event.

enum StyleDataType : Enum<StyleDataType>
TileID
Link copied to clipboard

Defines the tile id in a source-data-loaded event.

data class TileID(zoom: Long, x: Long, y: Long)