Package com.esri.arcgisruntime.location
Class WarningChangedEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.esri.arcgisruntime.location.WarningChangedEvent
-
- All Implemented Interfaces:
java.io.Serializable
public final class WarningChangedEvent extends java.util.EventObject
Holds information from a change to thewarning
property of aLocationDataSource
.- Since:
- 100.14.0
- See Also:
WarningChangedListener
,IndoorsLocationDataSource.addWarningChangedListener(WarningChangedListener)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WarningChangedEvent(LocationDataSource source, ArcGISRuntimeException warning)
Creates a new WarningChangedEvent with the given LocationDataSource and warning.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocationDataSource
getSource()
Gets the LocationDataSource that raised the event.ArcGISRuntimeException
getWarning()
Gets the new warning of the LocationDataSource.
-
-
-
Constructor Detail
-
WarningChangedEvent
public WarningChangedEvent(LocationDataSource source, ArcGISRuntimeException warning)
Creates a new WarningChangedEvent with the given LocationDataSource and warning.- Parameters:
source
- the LocationDataSource that raised the eventwarning
- the new warning of the LocationDataSource- Since:
- 100.14.0
-
-
Method Detail
-
getSource
public LocationDataSource getSource()
Gets the LocationDataSource that raised the event.- Overrides:
getSource
in classjava.util.EventObject
- Returns:
- the LocationDataSource that raised the event
- Since:
- 100.14.0
-
getWarning
public ArcGISRuntimeException getWarning()
Gets the new warning of the LocationDataSource.- Returns:
- the new warning
- Since:
- 100.14.0
- See Also:
for detailed warning message
-
-