Class BrightcoveMessage

java.lang.Object
com.brightcove.cast.model.BrightcoveMessage

public final class BrightcoveMessage extends Object
The BrightcoveMessage is an immutable message used for sending information to the Brightcove app receiver through a valid CastSession, using the BRIGHTCOVE_CAST_CHANNEL channel. All messages are sent as the JSON representation of this object.
  • Field Details

  • Constructor Details

    • BrightcoveMessage

      public BrightcoveMessage(String type, Object data)
      Instantiates a new Brightcove message.
      Parameters:
      type - the type
      data - the data
  • Method Details

    • getType

      public String getType()
      Gets type.
      Returns:
      the type
    • getData

      public Object getData()
      Gets data.
      Returns:
      the data