public class DangerousSlowdownsManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DangerousSlowdownsManager.DangerousSlowdownsBoxOptions
Request options for requesting dangerous slowdowns in rectangular area.
|
static interface |
DangerousSlowdownsManager.DangerousSlowdownSeverity
Incident result type fields.
|
static class |
DangerousSlowdownsManager.DangerousSlowdownsManagerException
An exception that is thrown when there is an error with a
DangerousSlowdownsManager operation. |
static class |
DangerousSlowdownsManager.DangerousSlowdownsRadiusOptions
Request options for requesting dangerous slowdowns in radius.
|
static interface |
DangerousSlowdownsManager.IDangerousSlowdownsResponseListener
|
Modifier and Type | Field and Description |
---|---|
static int |
SLOWDOWN_SEVERITY_1
|
static int |
SLOWDOWN_SEVERITY_2
|
static int |
SLOWDOWN_SEVERITY_3
|
static int |
SLOWDOWN_SEVERITY_4
|
static int |
SLOWDOWN_SEVERITY_5
|
static int |
SLOWDOWN_SEVERITY_ALL
Includes all dangerous slowdown severities.
|
Modifier and Type | Method and Description |
---|---|
DangerousSlowdownsConfig |
getConfiguration()
Gets a configuration for
DangerousSlowdownsManager . |
ICancellable |
getDangerousSlowdownsInBox(DangerousSlowdownsManager.DangerousSlowdownsBoxOptions options,
DangerousSlowdownsManager.IDangerousSlowdownsResponseListener listener)
Gets dangerous slowdowns in specified rectangular area.
|
ICancellable |
getDangerousSlowdownsInRadius(DangerousSlowdownsManager.DangerousSlowdownsRadiusOptions options,
DangerousSlowdownsManager.IDangerousSlowdownsResponseListener listener)
Gets dangerous slowdowns in the circular region with the specified radius.
|
boolean |
showDangerousSlowdowns(float zoom)
Gets the value indicating whether to show dangerous slowdowns on the specified
zoom level.
|
public static final int SLOWDOWN_SEVERITY_1
public static final int SLOWDOWN_SEVERITY_2
public static final int SLOWDOWN_SEVERITY_3
public static final int SLOWDOWN_SEVERITY_4
public static final int SLOWDOWN_SEVERITY_5
public static final int SLOWDOWN_SEVERITY_ALL
public DangerousSlowdownsConfig getConfiguration()
DangerousSlowdownsManager
.DangerousSlowdownsConfig
.public boolean showDangerousSlowdowns(float zoom)
zoom
- Target zoom level.public final ICancellable getDangerousSlowdownsInRadius(@NonNull DangerousSlowdownsManager.DangerousSlowdownsRadiusOptions options, @NonNull DangerousSlowdownsManager.IDangerousSlowdownsResponseListener listener)
options
- Request options instance.listener
- Listener instance.ICancellable
so that the action can be cancelled.DangerousSlowdownsManager.DangerousSlowdownsManagerException
- when:
public final ICancellable getDangerousSlowdownsInBox(@NonNull DangerousSlowdownsManager.DangerousSlowdownsBoxOptions options, @NonNull DangerousSlowdownsManager.IDangerousSlowdownsResponseListener listener)
options
- Request options instance.listener
- Response listener instance.ICancellable
so that the action can be cancelled.DangerousSlowdownsManager.DangerousSlowdownsManagerException
- when:
Copyright © 2013-2018 INRIX, Inc. All Rights Reserved.