Interface CommonPromptOptionsService
public interface CommonPromptOptionsService
Internal service for retrieving details regarding various common options for prompt configuration parameters. See
e.g.
CommonAudioFormat, CommonEffortLevel, etc.- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionfindIconForCommonPromptTask(String commonPromptTask) Finds the icon for a common propt task given by its name.findIconForCommonTranscriptionFormat(String commonTranscriptionFormat) Finds the icon for a common transcription format given by its name.findMimeTypeForImageFormat(String imageFormat) Finds the MIME type for a common image format given by its name.localizeAspectRatioDescription(Locale locale, String commonAspectRatio) Localizes the description for a common aspect ratio given by its name.localizeAspectRatioLabel(Locale locale, String commonAspectRatio) Localizes the label for a common aspect ratio given by its name.localizeAudioFormatDescription(Locale locale, String commonAudioFormat) Localizes the description for a common audio format given by its name.localizeAudioFormatLabel(Locale locale, String commonAudioFormat) Localizes the label for a common audio format given by its name.localizeDescriptionForCommonVideoFormat(Locale locale, String commonVideoFormat) Localizes the description for a common video format given by its name.localizeEffortLevelDescription(Locale locale, String commonEffortLevel) Localizes the label for a common effort level given by its name.localizeEffortLevelLabel(Locale locale, String commonEffortLevel) Localizes the label for a common effort level given by its name.localizeImageBackgroundDescription(Locale locale, String commonImageBackground) Localizes the description for a common image background given by its name.localizeImageBackgroundLabel(Locale locale, String commonImageBackground) Localizes the label for a common image background given by its name.localizeImageFormatDescription(Locale locale, String commonImageFormat) Localizes the description for a common image format given by its name.localizeImageFormatLabel(Locale locale, String commonImageFormat) Localizes the label for a common image format given by its name.localizeLabelForCommonVideoFormat(Locale locale, String commonVideoFormat) Localizes the label for a common video format given by its name.localizePromptTaskDescription(Locale locale, String commonPromptTask) Localizes the description for a common prompt task given by its name.localizePromptTaskLabel(Locale locale, String commonPromptTask) Localizes the label for a common prompt task given by its name.localizeTranscriptionFormatDescription(Locale locale, String commonTranscriptionFormat) Localizes the description for a common transcription format given by its name.localizeTranscriptionFormatLabel(Locale locale, String commonTranscriptionFormat) Localizes the label for a common transcription format given by its name.
-
Method Details
-
findIconForCommonPromptTask
-
findIconForCommonTranscriptionFormat
-
findMimeTypeForImageFormat
-
localizeAspectRatioDescription
Localizes the description for a common aspect ratio given by its name.- Parameters:
locale- The locale for which to localize the description.commonAspectRatio- The common aspect ratio constant.- Returns:
- The localized description for the given common aspect ratio.
-
localizeAspectRatioLabel
Localizes the label for a common aspect ratio given by its name.- Parameters:
locale- The locale for which to localize the label.commonAspectRatio- The common aspect ratio constant.- Returns:
- The localized label for the given common aspect ratio.
-
localizeAudioFormatDescription
Localizes the description for a common audio format given by its name.- Parameters:
locale- The locale for which to localize the description.commonAudioFormat- The name of the common audio format.- Returns:
- The localized description.
-
localizeAudioFormatLabel
-
localizeDescriptionForCommonVideoFormat
Localizes the description for a common video format given by its name.- Parameters:
locale- The locale for which to localize the description.commonVideoFormat- The name of the common video format.- Returns:
- The localized description.
-
localizeEffortLevelDescription
-
localizeEffortLevelLabel
-
localizeImageBackgroundDescription
Localizes the description for a common image background given by its name.- Parameters:
locale- The locale for which to localize the description.commonImageBackground- The name of the common image background.- Returns:
- The localized description.
-
localizeImageBackgroundLabel
Localizes the label for a common image background given by its name.- Parameters:
locale- The locale for which to localize the label.commonImageBackground- The name of the common image background.- Returns:
- The localized label.
-
localizeImageFormatDescription
Localizes the description for a common image format given by its name.- Parameters:
locale- The locale for which to localize the description.commonImageFormat- The name of the common image format.- Returns:
- The localized description.
-
localizeImageFormatLabel
-
localizeLabelForCommonVideoFormat
-
localizePromptTaskDescription
Localizes the description for a common prompt task given by its name.- Parameters:
locale- The locale for which to localize the description.commonPromptTask- The name of the common prompt task.- Returns:
- The localized description.
-
localizePromptTaskLabel
-
localizeTranscriptionFormatDescription
Localizes the description for a common transcription format given by its name.- Parameters:
locale- The locale for which to localize the description.commonTranscriptionFormat- The name of the common transcription format.- Returns:
- The localized description.
-
localizeTranscriptionFormatLabel
Localizes the label for a common transcription format given by its name.- Parameters:
locale- The locale for which to localize the label.commonTranscriptionFormat- The name of the common transcription format.- Returns:
- The localized label.
-