From bf75da0da4d10f1e8b39552f5cdd2c66295cf958 Mon Sep 17 00:00:00 2001 From: langsmith Date: Mon, 17 Dec 2018 09:47:51 -0800 Subject: adding param --- .../java/com/mapbox/mapboxsdk/location/LocationComponent.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java index 07194cdc89..628d4ca233 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponent.java @@ -206,6 +206,7 @@ public final class LocationComponent { * Note: This method will initialize and use an internal {@link LocationEngine} when enabled. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} */ @RequiresPermission(anyOf = {ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION}) public void activateLocationComponent(@NonNull Context context, @NonNull Style style) { @@ -218,6 +219,7 @@ public final class LocationComponent { * Afterwards, you can manage component's visibility by {@link #setLocationComponentEnabled(boolean)}. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param useDefaultLocationEngine true if you want to initialize and use the built-in location engine or false if * there should be no location engine initialized */ @@ -236,6 +238,7 @@ public final class LocationComponent { * Afterwards, you can manage component's visibility by {@link #setLocationComponentEnabled(boolean)}. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param useDefaultLocationEngine true if you want to initialize and use the built-in location engine or false if * there should be no location engine initialized * @param locationEngineRequest the location request @@ -259,6 +262,7 @@ public final class LocationComponent { * Note: This method will initialize and use an internal {@link LocationEngine} when enabled. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param styleRes the LocationComponent style res */ @RequiresPermission(anyOf = {ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION}) @@ -274,6 +278,7 @@ public final class LocationComponent { *

* * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param options the options */ @RequiresPermission(anyOf = {ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION}) @@ -289,6 +294,7 @@ public final class LocationComponent { * Afterwards, you can manage component's visibility by {@link #setLocationComponentEnabled(boolean)}. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param locationEngine the engine, or null if you'd like to only force location updates * @param styleRes the LocationComponent style res */ @@ -304,6 +310,7 @@ public final class LocationComponent { * Afterwards, you can manage component's visibility by {@link #setLocationComponentEnabled(boolean)}. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param locationEngine the engine, or null if you'd like to only force location updates * @param locationEngineRequest the location request * @param styleRes the LocationComponent style res @@ -320,6 +327,7 @@ public final class LocationComponent { * This method will show the location icon and enable the camera tracking the location. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param locationEngine the engine */ @RequiresPermission(anyOf = {ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION}) @@ -332,6 +340,7 @@ public final class LocationComponent { * This method will show the location icon and enable the camera tracking the location. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param locationEngine the engine * @param locationEngineRequest the location request */ @@ -347,6 +356,7 @@ public final class LocationComponent { * Afterwards, you can manage component's visibility by {@link #setLocationComponentEnabled(boolean)}. * * @param locationEngine the engine, or null if you'd like to only force location updates + * @param style the proxy object for current map style. More info at {@link Style} * @param options the options */ @RequiresPermission(anyOf = {ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION}) @@ -363,6 +373,7 @@ public final class LocationComponent { * Afterwards, you can manage component's visibility by {@link #setLocationComponentEnabled(boolean)}. * * @param context the context + * @param style the proxy object for current map style. More info at {@link Style} * @param locationEngine the engine, or null if you'd like to only force location updates * @param locationEngineRequest the location request * @param options the options -- cgit v1.2.1