sdk-maps-static-image
Module Contents
alltypes
Module Contents
class
BuildConfig
Module Contents
BuildConfig
(
)
static
val
APPLICATION_ID
:
String
static
val
BUILD_TYPE
:
String
static
val
DEBUG
:
Boolean
static
val
FLAVOR
:
String
static
val
LIBRARY_PACKAGE_NAME
:
String
static
val
VERSION_CODE
:
Int
static
val
VERSION_NAME
:
String
class
BuildConfig
Module Contents
BuildConfig
(
)
static
val
APPLICATION_ID
:
String
static
val
BUILD_TYPE
:
String
static
val
DEBUG
:
Boolean
static
val
FLAVOR
:
String
static
val
LIBRARY_PACKAGE_NAME
:
String
static
val
VERSION_CODE
:
Int
static
val
VERSION_NAME
:
String
interface
DownloadListener
Module Contents
abstract
fun
onFailed
(
url
:
String
!
)
:
Unit
abstract
fun
onReady
(
resource
:
Drawable
!
,
url
:
String
!
)
:
Unit
open
class
GlideDrawableDownloader
:
DrawableDownloader
Module Contents
GlideDrawableDownloader
(
context
:
Context
!
)
open
fun
download
(
staticImage
:
StaticImage
!
,
imageView
:
ImageView
!
)
:
Unit
open
fun
download
(
staticImage
:
StaticImage
!
,
listener
:
DownloadListener
!
)
:
Unit
open
fun
getContext
(
)
:
Context
?
open
class
StaticImage
Module Contents
interface
Build
Module Contents
@NonNull
abstract
fun
build
(
)
:
StaticImage
open
class
Builder
:
StaticImage.NotRequiredStep
,
StaticImage.RequiredStep
,
StaticImage.Build
Module Contents
Builder
(
apiKey
:
String
!
)
Builder
(
apiKey
:
String
!
,
version
:
Int
)
@NonNull
open
fun
boundingBox
(
bb
:
BoundingBox
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
build
(
)
:
StaticImage
@NonNull
open
fun
center
(
latLng
:
LatLng
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
geopoliticalViewIndian
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
geopoliticalViewUnified
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
jpeg
(
)
:
StaticImage.Build
@NonNull
open
fun
jpg
(
)
:
StaticImage.Build
@NonNull
open
fun
layer
(
layer
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
layerBasic
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
layerHybrid
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
layerLabels
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
mapSize
(
widthPixels
:
Int
,
heightPixels
:
Int
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
png
(
)
:
StaticImage.Build
@NonNull
open
fun
style
(
style
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
styleMain
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
styleNight
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
zoom
(
zoomLevel
:
Int
)
:
StaticImage.NotRequiredStep
open
static
fun
builder
(
key
:
String
!
)
:
StaticImage.RequiredStep
!
open
static
fun
builder
(
key
:
String
!
,
version
:
Int
)
:
StaticImage.RequiredStep
!
open
fun
download
(
context
:
Context
!
,
downloadListener
:
DownloadListener
!
)
:
Unit
open
fun
downloadInto
(
imageView
:
ImageView
!
)
:
Unit
static
val
EXT_JPEG
:
String
static
val
EXT_JPG
:
String
static
val
EXT_PNG
:
String
open
fun
getBoundingBox
(
)
:
BoundingBox
!
open
fun
getCenter
(
)
:
LatLng
!
@NonNull
open
fun
getDownloader
(
context
:
Context
!
)
:
DrawableDownloader
open
fun
getExt
(
)
:
Optional
<
String
!
>
!
open
fun
getGeopoliticalView
(
)
:
Optional
<
String
!
>
!
open
fun
getHeightPixels
(
)
:
Optional
<
Int
!
>
!
open
fun
getLayer
(
)
:
Optional
<
String
!
>
!
@NonNull
open
fun
getProtocol
(
)
:
String
open
fun
getStyle
(
)
:
Optional
<
String
!
>
!
open
fun
getURL
(
context
:
Context
!
)
:
String
!
@NonNull
open
fun
getVersion
(
)
:
String
open
fun
getWidthPixels
(
)
:
Optional
<
Int
!
>
!
open
fun
getZoomLevel
(
)
:
Optional
<
Int
!
>
!
static
val
LAYER_BASIC
:
String
static
val
LAYER_HYBRID
:
String
static
val
LAYER_LABELS
:
String
static
val
MAX_MAP_SIZE_PIXELS
:
Int
static
val
MIN_MAP_SIZE_PIXELS
:
Int
interface
NotRequiredStep
:
StaticImage.Build
Module Contents
@NonNull
abstract
fun
geopoliticalViewIndian
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
geopoliticalViewUnified
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
jpeg
(
)
:
StaticImage.Build
@NonNull
abstract
fun
jpg
(
)
:
StaticImage.Build
@NonNull
abstract
fun
layer
(
layer
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
layerBasic
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
layerHybrid
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
layerLabels
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
mapSize
(
width
:
Int
,
height
:
Int
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
png
(
)
:
StaticImage.Build
@NonNull
abstract
fun
style
(
style
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
styleMain
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
styleNight
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
zoom
(
level
:
Int
)
:
StaticImage.NotRequiredStep
static
val
PROTOCOL_HTTP
:
String
static
val
PROTOCOL_HTTPS
:
String
interface
RequiredStep
Module Contents
@NonNull
abstract
fun
boundingBox
(
bb
:
BoundingBox
!
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
center
(
latLng
:
LatLng
!
)
:
StaticImage.NotRequiredStep
open
fun
setUrlGenerator
(
urlGenerator
:
StaticMapUrlGenerator
!
)
:
Unit
static
val
STYLE_MAIN
:
String
static
val
STYLE_NIGHT
:
String
interface
StaticMapUrlGenerator
Module Contents
abstract
fun
generate
(
context
:
Context
!
,
map
:
StaticImage
!
)
:
String
!
static
val
PARAM_SEPARATOR
:
String
static
val
PATH_PRODUCT_NAME
:
String
static
val
PATH_SERVICE_NAME
:
String
static
val
QUERY_KEY_API_KEY
:
String
static
val
QUERY_KEY_BOUNDING_BOX
:
String
static
val
QUERY_KEY_CENTER
:
String
static
val
QUERY_KEY_EXT
:
String
static
val
QUERY_KEY_HEIGHT_PIXELS
:
String
static
val
QUERY_KEY_LAYER
:
String
static
val
QUERY_KEY_STYLE
:
String
static
val
QUERY_KEY_VIEW
:
String
static
val
QUERY_KEY_WIDTH_PIXELS
:
String
static
val
QUERY_KEY_ZOOM
:
String
package
com.tomtom.online.sdk.staticimage
Module Contents
class
BuildConfig
Module Contents
BuildConfig
(
)
static
val
APPLICATION_ID
:
String
static
val
BUILD_TYPE
:
String
static
val
DEBUG
:
Boolean
static
val
FLAVOR
:
String
static
val
LIBRARY_PACKAGE_NAME
:
String
static
val
VERSION_CODE
:
Int
static
val
VERSION_NAME
:
String
class
BuildConfig
Module Contents
BuildConfig
(
)
static
val
APPLICATION_ID
:
String
static
val
BUILD_TYPE
:
String
static
val
DEBUG
:
Boolean
static
val
FLAVOR
:
String
static
val
LIBRARY_PACKAGE_NAME
:
String
static
val
VERSION_CODE
:
Int
static
val
VERSION_NAME
:
String
interface
DownloadListener
Module Contents
abstract
fun
onFailed
(
url
:
String
!
)
:
Unit
abstract
fun
onReady
(
resource
:
Drawable
!
,
url
:
String
!
)
:
Unit
open
class
GlideDrawableDownloader
:
DrawableDownloader
Module Contents
GlideDrawableDownloader
(
context
:
Context
!
)
open
fun
download
(
staticImage
:
StaticImage
!
,
imageView
:
ImageView
!
)
:
Unit
open
fun
download
(
staticImage
:
StaticImage
!
,
listener
:
DownloadListener
!
)
:
Unit
open
fun
getContext
(
)
:
Context
?
open
class
StaticImage
Module Contents
interface
Build
Module Contents
@NonNull
abstract
fun
build
(
)
:
StaticImage
open
class
Builder
:
StaticImage.NotRequiredStep
,
StaticImage.RequiredStep
,
StaticImage.Build
Module Contents
Builder
(
apiKey
:
String
!
)
Builder
(
apiKey
:
String
!
,
version
:
Int
)
@NonNull
open
fun
boundingBox
(
bb
:
BoundingBox
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
build
(
)
:
StaticImage
@NonNull
open
fun
center
(
latLng
:
LatLng
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
geopoliticalViewIndian
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
geopoliticalViewUnified
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
jpeg
(
)
:
StaticImage.Build
@NonNull
open
fun
jpg
(
)
:
StaticImage.Build
@NonNull
open
fun
layer
(
layer
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
layerBasic
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
layerHybrid
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
layerLabels
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
mapSize
(
widthPixels
:
Int
,
heightPixels
:
Int
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
png
(
)
:
StaticImage.Build
@NonNull
open
fun
style
(
style
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
styleMain
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
styleNight
(
)
:
StaticImage.NotRequiredStep
@NonNull
open
fun
zoom
(
zoomLevel
:
Int
)
:
StaticImage.NotRequiredStep
open
static
fun
builder
(
key
:
String
!
)
:
StaticImage.RequiredStep
!
open
static
fun
builder
(
key
:
String
!
,
version
:
Int
)
:
StaticImage.RequiredStep
!
open
fun
download
(
context
:
Context
!
,
downloadListener
:
DownloadListener
!
)
:
Unit
open
fun
downloadInto
(
imageView
:
ImageView
!
)
:
Unit
static
val
EXT_JPEG
:
String
static
val
EXT_JPG
:
String
static
val
EXT_PNG
:
String
open
fun
getBoundingBox
(
)
:
BoundingBox
!
open
fun
getCenter
(
)
:
LatLng
!
@NonNull
open
fun
getDownloader
(
context
:
Context
!
)
:
DrawableDownloader
open
fun
getExt
(
)
:
Optional
<
String
!
>
!
open
fun
getGeopoliticalView
(
)
:
Optional
<
String
!
>
!
open
fun
getHeightPixels
(
)
:
Optional
<
Int
!
>
!
open
fun
getLayer
(
)
:
Optional
<
String
!
>
!
@NonNull
open
fun
getProtocol
(
)
:
String
open
fun
getStyle
(
)
:
Optional
<
String
!
>
!
open
fun
getURL
(
context
:
Context
!
)
:
String
!
@NonNull
open
fun
getVersion
(
)
:
String
open
fun
getWidthPixels
(
)
:
Optional
<
Int
!
>
!
open
fun
getZoomLevel
(
)
:
Optional
<
Int
!
>
!
static
val
LAYER_BASIC
:
String
static
val
LAYER_HYBRID
:
String
static
val
LAYER_LABELS
:
String
static
val
MAX_MAP_SIZE_PIXELS
:
Int
static
val
MIN_MAP_SIZE_PIXELS
:
Int
interface
NotRequiredStep
:
StaticImage.Build
Module Contents
@NonNull
abstract
fun
geopoliticalViewIndian
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
geopoliticalViewUnified
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
jpeg
(
)
:
StaticImage.Build
@NonNull
abstract
fun
jpg
(
)
:
StaticImage.Build
@NonNull
abstract
fun
layer
(
layer
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
layerBasic
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
layerHybrid
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
layerLabels
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
mapSize
(
width
:
Int
,
height
:
Int
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
png
(
)
:
StaticImage.Build
@NonNull
abstract
fun
style
(
style
:
String
!
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
styleMain
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
styleNight
(
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
zoom
(
level
:
Int
)
:
StaticImage.NotRequiredStep
static
val
PROTOCOL_HTTP
:
String
static
val
PROTOCOL_HTTPS
:
String
interface
RequiredStep
Module Contents
@NonNull
abstract
fun
boundingBox
(
bb
:
BoundingBox
!
)
:
StaticImage.NotRequiredStep
@NonNull
abstract
fun
center
(
latLng
:
LatLng
!
)
:
StaticImage.NotRequiredStep
open
fun
setUrlGenerator
(
urlGenerator
:
StaticMapUrlGenerator
!
)
:
Unit
static
val
STYLE_MAIN
:
String
static
val
STYLE_NIGHT
:
String
interface
StaticMapUrlGenerator
Module Contents
abstract
fun
generate
(
context
:
Context
!
,
map
:
StaticImage
!
)
:
String
!
static
val
PARAM_SEPARATOR
:
String
static
val
PATH_PRODUCT_NAME
:
String
static
val
PATH_SERVICE_NAME
:
String
static
val
QUERY_KEY_API_KEY
:
String
static
val
QUERY_KEY_BOUNDING_BOX
:
String
static
val
QUERY_KEY_CENTER
:
String
static
val
QUERY_KEY_EXT
:
String
static
val
QUERY_KEY_HEIGHT_PIXELS
:
String
static
val
QUERY_KEY_LAYER
:
String
static
val
QUERY_KEY_STYLE
:
String
static
val
QUERY_KEY_VIEW
:
String
static
val
QUERY_KEY_WIDTH_PIXELS
:
String
static
val
QUERY_KEY_ZOOM
:
String