ImageType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ImageType> - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ImageType
- com.
- com.
public class ImageType
Defines values for ImageType.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Image |
ANIMATED_GIF
Static value AnimatedGif for ImageType. |
final Image |
CLIPART
Static value Clipart for ImageType. |
final Image |
LINE
Static value Line for ImageType. |
final Image |
PHOTO
Static value Photo for ImageType. |
final Image |
SHOPPING
Static value Shopping for ImageType. |
final Image |
TRANSPARENT
Static value Transparent for ImageType. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
fromString(String name)
Creates or finds a ImageType from its string representation. |
Collection<Image |
values() |
Field Details
ANIMATED_GIF
public static final ImageType ANIMATED_GIF= fromString("AnimatedGif")
Static value AnimatedGif for ImageType.
CLIPART
public static final ImageType CLIPART= fromString("Clipart")
Static value Clipart for ImageType.
LINE
public static final ImageType LINE= fromString("Line")
Static value Line for ImageType.
PHOTO
public static final ImageType PHOTO= fromString("Photo")
Static value Photo for ImageType.
SHOPPING
public static final ImageType SHOPPING= fromString("Shopping")
Static value Shopping for ImageType.
TRANSPARENT
public static final ImageType TRANSPARENT= fromString("Transparent")
Static value Transparent for ImageType.
Method Details
fromString
public static ImageType fromString(String name)
Creates or finds a ImageType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java