Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] - set error handler when starting snapshotter, remove obsol…
Browse files Browse the repository at this point in the history
…ete static keyword on interface
  • Loading branch information
tobrun committed Sep 21, 2017
1 parent 2d84e2a commit c9cb4ef
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -193,6 +193,7 @@ public void start(@NonNull MapboxMap.SnapshotReadyCallback callback, ErrorHandle
}

this.callback = callback;
this.errorHandler = errorHandler;
nativeStart();
}

Expand Down

0 comments on commit c9cb4ef

Please sign in to comment.