com.tencent.map.sdk.comps.vis

## 接口 VisualLayer.OnLayerStatusChangedListener

- 封闭接口:
    VisualLayer

      public static interface VisualLayer.OnLayerStatusChangedListener

  图层状态回调

- - ### 嵌套类概要

    嵌套类
    限定符和类型 | 接口和说明
    --- | ---
    `static interface` | `VisualLayer.OnLayerStatusChangedListener.EventType`
    `static interface` | `VisualLayer.OnLayerStatusChangedListener.LayerStatus`
    `static interface` | `VisualLayer.OnLayerStatusChangedListener.LayerStatusMsg`

  - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `boolean` | `onEvent(VisualLayer layer, java.lang.String eventType, java.lang.String infoJson)` 事件回调 `VisualLayer.OnLayerStatusChangedListener.EventType.ON_CLICK` `VisualLayer.OnLayerStatusChangedListener.EventType.ON_TRANSLATEANIMATION_COMPLETE` `VisualLayer.OnLayerStatusChangedListener.EventType.ON_LAYER_LOAD_FINISH`
    `void` | `onLayerLoadFinish(int status)` 图层加载回调 `VisualLayer.OnLayerStatusChangedListener.LayerStatus.OK` `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_AUTH` `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_NETWORK` `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_DATA_DECODE` `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_DATA_AVAILABLE`

- - ### 方法详细资料

    - #### onLayerLoadFinish

          void onLayerLoadFinish(int status)

      图层加载回调
      1. `VisualLayer.OnLayerStatusChangedListener.LayerStatus.OK`
      2. `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_AUTH`
      3. `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_NETWORK`
      4. `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_DATA_DECODE`
      5. `VisualLayer.OnLayerStatusChangedListener.LayerStatus.ERR_DATA_AVAILABLE`

    - #### onEvent

          boolean onEvent(VisualLayer layer,
                          java.lang.String eventType,
                          java.lang.String infoJson)

      事件回调
      1. `VisualLayer.OnLayerStatusChangedListener.EventType.ON_CLICK`
      2. `VisualLayer.OnLayerStatusChangedListener.EventType.ON_TRANSLATEANIMATION_COMPLETE`
      3. `VisualLayer.OnLayerStatusChangedListener.EventType.ON_LAYER_LOAD_FINISH`