com.amap.api.maps

## 类 TextureMapFragment

- java.lang.Object
- - android.app.Fragment
  - - com.amap.api.maps.TextureMapFragment

- 所有已实现的接口:
    android.content.ComponentCallbacks, android.content.ComponentCallbacks2, android.view.View.OnCreateContextMenuListener

      public class TextureMapFragment
      extends android.app.Fragment

  TextureMapFragment 类, 管理地图生命周期，android4.0以上版本使用。
  The TextureMapFragment class manages the map lifecycle and is used in Android 4.0 and above.
  从以下版本开始:
    3.1.0

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 android.app.Fragment

      `android.app.Fragment.InstantiationException, android.app.Fragment.SavedState`

  - ### 字段概要

    - ### 从接口继承的字段 android.content.ComponentCallbacks2

      `TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN`

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `AMap` | `getMap()` 获取地图控制器AMap 对象。
    `static TextureMapFragment` | `newInstance()` 使用默认的选项创建TextureMapFragment。
    `static TextureMapFragment` | `newInstance(AMapOptions options)` 根据用户传入的AMapOptions 创建TextureMapFragment。

    - ### 从类继承的方法 android.app.Fragment

      `dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onCreateView, onDestroy, onDestroyOptionsMenu, onDestroyView, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onResume, onSaveInstanceState, onStart, onStop, onTrimMemory, onViewCreated, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu`

    - ### 从类继承的方法 java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### 方法详细资料

    - #### newInstance

          public static TextureMapFragment newInstance()

      使用默认的选项创建TextureMapFragment。
      Creates a TextureMapFragment with default options.
      返回:
        一个TextureMapFragment对象。
        A TextureMapFragment object.
      从以下版本开始:
        3.1.0

    - #### newInstance

          public static TextureMapFragment newInstance(AMapOptions options)

      根据用户传入的AMapOptions 创建TextureMapFragment。
      Create a TextureMapFragment based on the AMapOptions passed by the user.
      参数:
        `options` - 地图初始化的AMapOptions对象。
        AMapOptions object for map initialization.
      返回:
        一个TextureMapFragment对象。
        A TextureMapFragment object.
      从以下版本开始:
        3.1.0

    - #### getMap

          public AMap getMap()

      获取地图控制器AMap 对象。
      Retrieves the AMap object, the map controller.
      返回:
        AMap 对象。
        AMap Object.
      从以下版本开始:
        3.1.0