RasterDataSource.withConfigurationAndListener constructor

RasterDataSource.withConfigurationAndListener(
  1. MapContext context,
  2. RasterDataSourceConfiguration configuration,
  3. RasterDataSourceListener listener
)

Creates a RasterDataSource instance with the provided data source configuration and registers a listener.

  • context The map context to associate the data source with.

  • configuration The data source configuration object to use.

  • listener The initial listener to be registered for receiving state notifications. Due to the asynchronous nature of the data source initialization, the listeners registered later might miss some notifications. This listener is guaranteed to receive all notifications. The state notifications can occur on an arbitrary thread.

Implementation

factory RasterDataSource.withConfigurationAndListener(MapContext context, RasterDataSourceConfiguration configuration, RasterDataSourceListener listener) => $prototype.withConfigurationAndListener(context, configuration, listener);