[android] - set error handler when starting snapshotter, remove obsolete static keyword on interface

This commit is contained in:
Tobrun Van Nuland
2017-09-21 09:59:05 +02:00
committed by Tobrun
parent 2d84e2a1ae
commit c9cb4ef624

View File

@@ -29,7 +29,7 @@ public class MapSnapshotter {
*
* @see MapSnapshotter#start(MapboxMap.SnapshotReadyCallback, ErrorHandler)
*/
public static interface ErrorHandler {
public interface ErrorHandler {
/**
* Called on error. Snapshotting will not
@@ -193,6 +193,7 @@ public class MapSnapshotter {
}
this.callback = callback;
this.errorHandler = errorHandler;
nativeStart();
}