Freigeben über


ImageSize Klasse

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

public class ImageSize

Definiert Werte für ImageSize.

Feldzusammenfassung

Modifizierer und Typ Feld und Beschreibung
final ImageSize ALL

Statischer Wert All für ImageSize.

final ImageSize LARGE

Statischer Wert Groß für ImageSize.

final ImageSize MEDIUM

Statischer Wert Medium für ImageSize.

final ImageSize SMALL

Statischer Wert Small für ImageSize.

final ImageSize WALLPAPER

Statischer Wert Wallpaper für ImageSize.

Methodenzusammenfassung

Modifizierer und Typ Methode und Beschreibung
ImageSize fromString(String name)

Erstellt oder findet eine ImageSize-Datei aus seiner Zeichenfolgendarstellung.

Collection<ImageSize> values()

Felddetails

ALL

public static final ImageSize ALL= fromString("All")

Statischer Wert All für ImageSize.

LARGE

public static final ImageSize LARGE= fromString("Large")

Statischer Wert Groß für ImageSize.

MEDIUM

public static final ImageSize MEDIUM= fromString("Medium")

Statischer Wert Medium für ImageSize.

SMALL

public static final ImageSize SMALL= fromString("Small")

Statischer Wert Small für ImageSize.

WALLPAPER

public static final ImageSize WALLPAPER= fromString("Wallpaper")

Statischer Wert Wallpaper für ImageSize.

Details zur Methode

fromString

public static ImageSize fromString(String name)

Erstellt oder findet eine ImageSize-Datei aus seiner Zeichenfolgendarstellung.

Parameters:

name - einen Namen, nach dem gesucht werden soll

Returns:

die entsprechende ImageSize

values

public static Collection values()

Returns:

bekannte ImageSize-Werte

Gilt für: