mapbox-plugin-offline

//mapboxpluginoffline/io.github.xit0c.mapboxpluginoffline.utils/OfflineUtils/convertRegionName

convertRegionName

[androidJvm]
fun convertRegionName(regionName: String): ByteArray?

Converts regionName to a ByteArray. Useful to store the name of a region as metadata.

Return

the region name converted to a ByteArray.

See also

androidJvm

   
io.github.xit0c.mapboxpluginoffline.model.OfflineDownloadOptions  

[androidJvm]
fun convertRegionName(regionName: ByteArray?): String?

Converts regionName to a plain String. Useful to retrieve the name of a region from metadata.

Return

the region name converted to a String.

See also

androidJvm

   
io.github.xit0c.mapboxpluginoffline.model.OfflineDownloadOptions