Uses of Class
com.azure.ai.contentsafety.models.ImageCategory
Packages that use ImageCategory
Package
Description
Package containing the data models for ContentSafety.
-
Uses of ImageCategory in com.azure.ai.contentsafety.models
Fields in com.azure.ai.contentsafety.models declared as ImageCategoryModifier and TypeFieldDescriptionstatic final ImageCategoryImageCategory.HATEStatic value Hate for ImageCategory.static final ImageCategoryImageCategory.SELF_HARMStatic value SelfHarm for ImageCategory.static final ImageCategoryImageCategory.SEXUALStatic value Sexual for ImageCategory.static final ImageCategoryImageCategory.VIOLENCEStatic value Violence for ImageCategory.Methods in com.azure.ai.contentsafety.models that return ImageCategoryModifier and TypeMethodDescriptionstatic ImageCategoryImageCategory.fromString(String name) Creates or finds a ImageCategory from its string representation.ImageCategoriesAnalysis.getCategory()Get the category property: The image analysis category.Methods in com.azure.ai.contentsafety.models that return types with arguments of type ImageCategoryModifier and TypeMethodDescriptionAnalyzeImageOptions.getCategories()Get the categories property: The categories will be analyzed.static Collection<ImageCategory> ImageCategory.values()Gets known ImageCategory values.Method parameters in com.azure.ai.contentsafety.models with type arguments of type ImageCategoryModifier and TypeMethodDescriptionAnalyzeImageOptions.setCategories(List<ImageCategory> categories) Set the categories property: The categories will be analyzed.