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

Types

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

Describes data source of request for resource-request event.

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

The data class for error in Observer

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

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

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

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

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

The request data class that included in EventData

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

Describes priority for request object.

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

Describes type for request object.

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

The response data class that included in EventData

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

Describes the reason of Error for response object.

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

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

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

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

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

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

TileID
Link copied to clipboard
data class TileID(zoom: Long, x: Long, y: Long)

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