Enum Class CastMode

java.lang.Object
java.lang.Enum<CastMode>
com.teamdev.jxbrowser.cast.CastMode
All Implemented Interfaces:
Serializable, Comparable<CastMode>, Constable

public enum CastMode extends Enum<CastMode>
The types of content that can be cast to a media receiver.
  • Enum Constant Details

    • PRESENTATION

      public static final CastMode PRESENTATION
      Cast the content specified by the presentation URLs or frame's origin provided via the Presentation API.
    • BROWSER

      public static final CastMode BROWSER
      Cast the browser's web content.
    • SCREEN

      public static final CastMode SCREEN
      Cast the screen's content.
    • REMOTE_PLAYBACK

      public static final CastMode REMOTE_PLAYBACK
      Cast media content using the Remote Playback API.
  • Method Details

    • values

      public static CastMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CastMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null