toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-map
/
com.mapbox.dash.sdk.map.util
/
MapSnapshotCapturerImpl
Map
Snapshot
Capturer
Impl
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
MapSnapshotCapturerImpl
(
context
:
Context
,
ioDispatcher
:
CoroutineDispatcher
)
:
MapSnapshotCapturer
Members
Constructors
Map
Snapshot
Capturer
Impl
Link copied to clipboard
constructor
(
context
:
Context
,
ioDispatcher
:
CoroutineDispatcher
)
Properties
preloaded
Snapshot
Link copied to clipboard
open
override
val
preloadedSnapshot
:
Channel
<
Bitmap
>
Functions
build
Default
Output
Path
Link copied to clipboard
open
override
fun
buildDefaultOutputPath
(
)
:
String
capture
Snapshot
As
Bitmap
Link copied to clipboard
open
suspend override
fun
captureSnapshotAsBitmap
(
saveOnDisk
:
Boolean
,
outputPath
:
String
)
:
Bitmap
?
convert
Snapshot
To
String
Link copied to clipboard
open
override
fun
convertSnapshotToString
(
bitmap
:
Bitmap
)
:
String
init
Link copied to clipboard
fun
init
(
mapView
:
MapView
)
on
Destroy
Link copied to clipboard
fun
onDestroy
(
)
preload
Snapshot
Link copied to clipboard
open
suspend override
fun
preloadSnapshot
(
)