[android] - set error handler when starting snapshotter, remove obsolete static keyword on interface
This commit is contained in:
committed by
Tobrun
parent
2d84e2a1ae
commit
c9cb4ef624
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user