ImageSize Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ImageSize> - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ImageSize
- com.
- com.
public class ImageSize
Defines values for ImageSize.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Image |
ALL
Static value All for ImageSize. |
final Image |
LARGE
Static value Large for ImageSize. |
final Image |
MEDIUM
Static value Medium for ImageSize. |
final Image |
SMALL
Static value Small for ImageSize. |
final Image |
WALLPAPER
Static value Wallpaper for ImageSize. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
fromString(String name)
Creates or finds a ImageSize from its string representation. |
Collection<Image |
values() |
Field Details
ALL
public static final ImageSize ALL= fromString("All")
Static value All for ImageSize.
LARGE
public static final ImageSize LARGE= fromString("Large")
Static value Large for ImageSize.
MEDIUM
public static final ImageSize MEDIUM= fromString("Medium")
Static value Medium for ImageSize.
SMALL
public static final ImageSize SMALL= fromString("Small")
Static value Small for ImageSize.
WALLPAPER
public static final ImageSize WALLPAPER= fromString("Wallpaper")
Static value Wallpaper for ImageSize.
Method Details
fromString
public static ImageSize fromString(String name)
Creates or finds a ImageSize from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java