Interface FocusAreaProviderContext


@NonExtendable public interface FocusAreaProviderContext
The context given to a FocusAreaProviderPlugin providing access to information about the contextual image.
Since:
5.2.200705
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Language
    Returns the data language the image has been associated with, if language-dependent.
    @NotNull Media
    The contextual Media element the focus areas have been requested for.
  • Method Details

    • getMedia

      @NotNull @NotNull Media getMedia()
      The contextual Media element the focus areas have been requested for.
      Returns:
      The Media element.
      Since:
      5.2.200705
    • getLanguage

      @Nullable @Nullable Language getLanguage()
      Returns the data language the image has been associated with, if language-dependent.
      Returns:
      The data language, if available.
      Since:
      5.2.200705