setRenderingRefreshMode

Set the rendering refresh mode to CONTINUOUS or WHEN_DIRTY. Defaults to MapRenderer.RenderingRefreshMode.WHEN_DIRTY. The renderer is called repeatedly to re-render the scene in continuous mode otherwise the renderer is called when the surface is created, or when requestRender is called.

Using WHEN_DIRTY can improve battery life and overall system performance by allowing the GPU and CPU to idle when the view does not need to be updated.

This method can only be called after setRenderer

Parameters

mode

one of the MapRenderer.RenderingRefreshMode constants