Enum LineOfSight.TargetVisibility
- java.lang.Object
-
- java.lang.Enum<LineOfSight.TargetVisibility>
-
- com.esri.arcgisruntime.geoanalysis.LineOfSight.TargetVisibility
-
- All Implemented Interfaces:
Serializable
,Comparable<LineOfSight.TargetVisibility>
- Enclosing class:
- LineOfSight
public static enum LineOfSight.TargetVisibility extends Enum<LineOfSight.TargetVisibility>
Specifies the target's visibility.- Since:
- 100.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OBSTRUCTED
Target is not visible from the observer because the line of sight is obstructed.UNKNOWN
Target's visibility is unknown.VISIBLE
Target is visible from the observer.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LineOfSight.TargetVisibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static LineOfSight.TargetVisibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VISIBLE
public static final LineOfSight.TargetVisibility VISIBLE
Target is visible from the observer.- Since:
- 100.2.0
-
OBSTRUCTED
public static final LineOfSight.TargetVisibility OBSTRUCTED
Target is not visible from the observer because the line of sight is obstructed.- Since:
- 100.2.0
-
UNKNOWN
public static final LineOfSight.TargetVisibility 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 Detail
-
values
public static LineOfSight.TargetVisibility[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LineOfSight.TargetVisibility c : LineOfSight.TargetVisibility.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LineOfSight.TargetVisibility valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-