downloadLocationAttachmentAsynchronous

open fun downloadLocationAttachmentAsynchronous(    @NonNull context: Context,     latitude: Double,     longitude: Double,     @NonNull markerColor: String,     addMarker: Boolean,     @Nullable listener: STWDownloadAttachmentLocationListener)

Call this method to download a location attachment asynchronously.

See also

Parameters

context

the application context

latitude

latitude point

longitude

longitude point

markerColor

the given marker color

addMarker

true if need to add a marker

listener

STWDownloadAttachmentLocationListener: listener to keep track the task of downloading the attachment location