ImageType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<ImageType>
      • com.microsoft.azure.cognitiveservices.search.imagesearch.models.ImageType

public class ImageType

Defines values for ImageType.

Field Summary

Modifier and Type Field and Description
final ImageType ANIMATED_GIF

Static value AnimatedGif for ImageType.

final ImageType CLIPART

Static value Clipart for ImageType.

final ImageType LINE

Static value Line for ImageType.

final ImageType PHOTO

Static value Photo for ImageType.

final ImageType SHOPPING

Static value Shopping for ImageType.

final ImageType TRANSPARENT

Static value Transparent for ImageType.

Method Summary

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

Creates or finds a ImageType from its string representation.

Collection<ImageType> 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:

name - a name to look for

Returns:

the corresponding ImageType

values

public static Collection values()

Returns:

known ImageType values

Applies to