Package com.brightcove.cast.model
Class BrightcoveMessage
java.lang.Object
com.brightcove.cast.model.BrightcoveMessage
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 Summary
-
Constructor Summary
ConstructorDescriptionBrightcoveMessage
(String type, Object data) Instantiates a new Brightcove message. -
Method Summary
-
Field Details
-
BRIGHTCOVE_CAST_CHANNEL
- See Also:
-
DATA_TYPE_SPLASH_SCREEN
- See Also:
-
-
Constructor Details
-
BrightcoveMessage
Instantiates a new Brightcove message.- Parameters:
type
- the typedata
- the data
-
-
Method Details
-
getType
Gets type.- Returns:
- the type
-
getData
Gets data.- Returns:
- the data
-