DJI Mobile SDK Documentation

class DJIMapViewInternal

interface DJIMapViewInternal
Package:com.dji.mapkit.core.maps
Description:

A view which displays a map. All the life cycle methods must be forwarded from the Activity or Fragment containing this view to the corresponding ones in this class. In particular, the following methods must be forwarded:

Class Members:
method
method onCreate
void onCreate(Bundle saveInstanceState)
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

Input Parameters:
Bundle saveInstanceStateBundle which contains the saved instance state.
method
method onStart
void onStart()
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

method
method onResume
void onResume()
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

method
method onPause
void onPause()
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

method
method onStop
void onStop()
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

method
method onDestroy
void onDestroy()
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

method onSaveInstanceState
void onSaveInstanceState(Bundle outState)
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

Input Parameters:
Bundle outStateBundle in which to place your saved state.
method onLowMemory
void onLowMemory()
Package:com.dji.mapkit.core.maps
Description:

Must be called from the parent Activity/Fragment's corresponding method.

method getDJIMapAsync
void getDJIMapAsync(DJIMapView.OnDJIMapReadyCallback callback)
Package:com.dji.mapkit.core.maps
Description:

Initializes the map view.

Input Parameters:
DJIMapView.OnDJIMapReadyCallback callbackThe callback that will be invoked when the map is ready to be used.