addListener abstract method
- RasterDataSourceListener listener
Add listener for receiving state notifications.
The new listener is appended to the set of data source listeners as a strong reference and will receive only the notifications occurring after the registration. Caller is responsible for releasing the strong reference by calling RasterDataSource.removeListener. The state notifications can occur on an arbitrary thread.
listenerListener to be added for receiving state notifications.
Implementation
void addListener(RasterDataSourceListener listener);