Interface Screens

All Superinterfaces:
ProfileService

public interface Screens extends ProfileService
A service that allows obtaining connected screens.
Since:
7.29
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the default (main) screen.
    Returns the list of connected screens whose content can be cast to a media receiver.

    Methods inherited from interface com.teamdev.jxbrowser.profile.ProfileService

    profile
  • Method Details

    • list

      List<Screen> list()
      Returns the list of connected screens whose content can be cast to a media receiver.
      Throws:
      ObjectClosedException - when the profile is deleted or its engine is closed
    • defaultScreen

      Screen defaultScreen()
      Returns the default (main) screen.
      Throws:
      IllegalStateException - if there are no connected screens
      ObjectClosedException - when the profile is deleted or its engine is closed