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

Commit

Permalink
adding param (#13597)
Browse files Browse the repository at this point in the history
(cherry picked from commit 781a60b)
  • Loading branch information
Langston Smith authored and Łukasz Paczos committed Dec 20, 2018
1 parent ec4fdae commit 20d4dd6
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ public LocationComponent(@NonNull MapboxMap mapboxMap) {
* <strong>Note</strong>: 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) {
Expand All @@ -223,6 +224,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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
*/
Expand All @@ -241,6 +243,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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
Expand All @@ -264,6 +267,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* <strong>Note</strong>: 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})
Expand All @@ -279,6 +283,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* </p>
*
* @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})
Expand All @@ -294,6 +299,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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
*/
Expand All @@ -309,6 +315,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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
Expand All @@ -325,6 +332,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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})
Expand All @@ -337,6 +345,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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
*/
Expand All @@ -352,6 +361,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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})
Expand All @@ -368,6 +378,7 @@ public void activateLocationComponent(@NonNull Context context, @NonNull Style s
* 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
Expand Down

0 comments on commit 20d4dd6

Please sign in to comment.