MapAdapter

interface MapAdapter

Adapter to map lifecycle events from their parent components to TomTomMapInteraction.

Functions

Link copied to clipboard
abstract fun draw()

Method to call to trigger a rendering iteration.

Link copied to clipboard
abstract fun interceptMotionEvent(event: MotionEvent): Boolean

Method to call after the parent component receives a touch event.

Link copied to clipboard
abstract fun pause()

Method to call when the parent lifecycle-aware component is paused.

Link copied to clipboard
abstract fun resume()

Method to call when the parent lifecycle-aware component is resumed.

Link copied to clipboard
abstract fun surfaceChanged(width: Int, height: Int)

Method to call when the dimensions of the rendering surface have changed while the graphic context is still valid.

Link copied to clipboard
abstract fun surfaceCreated()

Method to call when the rendering surface has been created and the graphic context is available.