MaskType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. vision. face. models. MaskType
- com.
- com.
public final class MaskType
extends ExpandableStringEnum<MaskType>
Type of the mask.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Mask |
FACE_MASK
Face mask. |
|
static final
Mask |
NO_MASK
No mask. |
|
static final
Mask |
OTHER_MASK_OR_OCCLUSION
Other types of mask or occlusion. |
|
static final
Mask |
UNCERTAIN
Uncertain. |
Constructor Summary
| Constructor | Description |
|---|---|
| MaskType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Mask |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Mask |
fromString(String name)
Creates or finds a Mask |
|
static
Collection<Mask |
values()
Gets known Mask |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
FACE_MASK
public static final MaskType FACE_MASK
Face mask.
NO_MASK
public static final MaskType NO_MASK
No mask.
OTHER_MASK_OR_OCCLUSION
public static final MaskType OTHER_MASK_OR_OCCLUSION
Other types of mask or occlusion.
UNCERTAIN
public static final MaskType UNCERTAIN
Uncertain.
Constructor Details
MaskType
@Deprecated
public MaskType()
Deprecated
Creates a new instance of MaskType value.
Method Details
fromString
public static MaskType fromString(String name)
Creates or finds a MaskType from its string representation.
Parameters:
Returns:
values
public static Collection<MaskType> values()
Gets known MaskType values.
Returns: