共用方式為


DomainType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<DomainType>
      • com.microsoft.azure.cognitiveservices.vision.customvision.training.models.DomainType

public class DomainType

Defines values for DomainType.

Field Summary

Modifier and Type Field and Description
final DomainType CLASSIFICATION

Static value Classification for DomainType.

final DomainType OBJECT_DETECTION

Static value ObjectDetection for DomainType.

Method Summary

Modifier and Type Method and Description
DomainType fromString(String name)

Creates or finds a DomainType from its string representation.

Collection<DomainType> values()

Field Details

CLASSIFICATION

public static final DomainType CLASSIFICATION= fromString("Classification")

Static value Classification for DomainType.

OBJECT_DETECTION

public static final DomainType OBJECT_DETECTION= fromString("ObjectDetection")

Static value ObjectDetection for DomainType.

Method Details

fromString

public static DomainType fromString(String name)

Creates or finds a DomainType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding DomainType

values

public static Collection values()

Returns:

known DomainType values

Applies to