Skip to main content

LivemapView

FrameLayout

Type: public class LivemapView extends

The view that embed the livemap

LivemapView(Context context)

Type: public

Constructor

Parameter NameTypeDescription
contextContextthe context

LivemapView(Context context, AttributeSet attrs)

Type: public

Constructor

Parameter NameTypeDescription
contextContextthe context
attrsAttributeSetthe attribute set

LivemapView(Context context, AttributeSet attrs, int defStyle)

Type: public

Constructor

Parameter NameTypeDescription
contextContextthe context
attrsAttributeSetthe attribute set
defStyleintthe default style

LivemapView(Context context, LivemapOptions options)

Type: public

LivemapView constructor

Parameter NameTypeDescription
contextContextthe app context
optionsLivemapOptionsthe livemap options

getLivemapOptions()

Type: public

Get the livemap options

Returned Value: the livemap options

getLivemapAsync(LivemapReadyCallback livemapReadyCallback)

Type: public void

Get the livemap asynchronously when ready

Parameter NameTypeDescription
livemapReadyCallbackLivemapReadyCallbackthe livemap callback

onRequestPermissionsResult

Type: public void

Call this method from your activity to let your activity handle your permission requests

Reference: android.app.Activity#onRequestPermissionsResult(int, String [], int[])

onActivityResult(int requestCode, int resultCode, Intent data)

Type: public void

Call this method from your activity to let the livemap handle your activity result

Reference: android.app.Activity#onActivityResult(int, int, Intent )