Share via


MaskType Class

public final class MaskType
extends ExpandableStringEnum<MaskType>

Type of the mask.

Field Summary

Modifier and Type Field and Description
static final MaskType FACE_MASK

Face mask.

static final MaskType NO_MASK

No mask.

static final MaskType OTHER_MASK_OR_OCCLUSION

Other types of mask or occlusion.

static final MaskType UNCERTAIN

Uncertain.

Constructor Summary

Constructor Description
MaskType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MaskType value.

Method Summary

Modifier and Type Method and Description
static MaskType fromString(String name)

Creates or finds a MaskType from its string representation.

static Collection<MaskType> values()

Gets known MaskType values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding MaskType.

values

public static Collection<MaskType> values()

Gets known MaskType values.

Returns:

known MaskType values.

Applies to