Added mapbox-gl-native-android

This commit is contained in:
Petr Pokorny
2020-12-16 17:31:00 +01:00
parent 4c12fb2c20
commit 003504be6c
1090 changed files with 0 additions and 4 deletions

View File

@@ -0,0 +1,38 @@
package com.mapbox.mapboxsdk;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.mapbox.mapboxsdk.http.HttpRequest;
import com.mapbox.mapboxsdk.maps.TelemetryDefinition;
/**
* Injects concrete instances of configurable abstractions
*/
public interface ModuleProvider {
/**
* Create a new concrete implementation of HttpRequest.
*
* @return a new instance of an HttpRequest
*/
@NonNull
HttpRequest createHttpRequest();
/**
* Get the concrete implementation of TelemetryDefinition
*
* @return a single instance of Telemetry
*/
@Nullable
TelemetryDefinition obtainTelemetry();
/**
* Get the concrete implementation of LibraryLoaderProvider
*
* @return a new instance of LibraryLoaderProvider
*/
@NonNull
LibraryLoaderProvider createLibraryLoaderProvider();
}