-
public final class BrightcoveChannelUtil
An util class that helps sending messages to the Brightcove Cast app receiver using the BRIGHTCOVE_CAST_CHANNEL channel.
-
-
Method Summary
Modifier and Type Method Description static PendingResult<Status>
sendMessage(@NonNull() CastSession castSession, @NonNull() String message)
Send a message to the Brightcove Cast app receiver. static PendingResult<Status>
sendBrightcoveMessage(@NonNull() CastSession castSession, @NonNull() BrightcoveMessage message)
Send a BrightcoveMessage to the Brightcove Cast app receiver. static PendingResult<Status>
castSplashScreen(@NonNull() CastSession castSession, @NonNull() SplashScreen splashScreen)
Cast the Splash Screen to the Brightcove Cast app receiver. -
-
Method Detail
-
sendMessage
static PendingResult<Status> sendMessage(@NonNull() CastSession castSession, @NonNull() String message)
Send a message to the Brightcove Cast app receiver.
- Parameters:
castSession
- the cast sessionmessage
- the message
-
sendBrightcoveMessage
static PendingResult<Status> sendBrightcoveMessage(@NonNull() CastSession castSession, @NonNull() BrightcoveMessage message)
Send a BrightcoveMessage to the Brightcove Cast app receiver.
- Parameters:
castSession
- the cast sessionmessage
- the message
-
castSplashScreen
static PendingResult<Status> castSplashScreen(@NonNull() CastSession castSession, @NonNull() SplashScreen splashScreen)
Cast the Splash Screen to the Brightcove Cast app receiver.
- Parameters:
castSession
- the cast sessionsplashScreen
- the splash screen
-
-
-
-