Module com.esri.arcgisruntime
Enum Class LineOfSight.TargetVisibility
java.lang.Object
java.lang.Enum<LineOfSight.TargetVisibility>
com.esri.arcgisruntime.geoanalysis.LineOfSight.TargetVisibility
- All Implemented Interfaces:
Serializable
,Comparable<LineOfSight.TargetVisibility>
,Constable
- Enclosing class:
LineOfSight
Specifies the target's visibility.
- Since:
- 100.2.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTarget is not visible from the observer because the line of sight is obstructed.Target's visibility is unknown.Target is visible from the observer. -
Method Summary
Modifier and TypeMethodDescriptionstatic LineOfSight.TargetVisibility
Returns the enum constant of this class with the specified name.static LineOfSight.TargetVisibility[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VISIBLE
Target is visible from the observer.- Since:
- 100.2.0
-
OBSTRUCTED
Target is not visible from the observer because the line of sight is obstructed.- Since:
- 100.2.0
-
UNKNOWN
Target's visibility is unknown. This can happen when the view is not rendered yet, or if either the target or observer is not visible on the screen.- Since:
- 100.2.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-