Package com.brightcove.cast.model
Class BrightcoveMessage
- java.lang.Object
-
- com.brightcove.cast.model.BrightcoveMessage
-
public final class BrightcoveMessage extends java.lang.ObjectThe BrightcoveMessage is an immutable message used for sending information to the Brightcove app receiver through a validCastSession, using theBRIGHTCOVE_CAST_CHANNELchannel. All messages are sent as the JSON representation of this object.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBRIGHTCOVE_CAST_CHANNELstatic java.lang.StringDATA_TYPE_SPLASH_SCREEN
-
Constructor Summary
Constructors Constructor Description BrightcoveMessage(java.lang.String type, java.lang.Object data)Instantiates a new Brightcove message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetData()Gets data.java.lang.StringgetType()Gets type.
-
-
-
Field Detail
-
BRIGHTCOVE_CAST_CHANNEL
public static final java.lang.String BRIGHTCOVE_CAST_CHANNEL
- See Also:
- Constant Field Values
-
DATA_TYPE_SPLASH_SCREEN
public static final java.lang.String DATA_TYPE_SPLASH_SCREEN
- See Also:
- Constant Field Values
-
-