public final class BrightcoveChannelUtil
extends java.lang.Object
BrightcoveMessage.BRIGHTCOVE_CAST_CHANNEL
channel.Constructor and Description |
---|
BrightcoveChannelUtil() |
Modifier and Type | Method and Description |
---|---|
static com.google.android.gms.common.api.PendingResult<com.google.android.gms.common.api.Status> |
castSplashScreen(com.google.android.gms.cast.framework.CastSession castSession,
SplashScreen splashScreen)
Cast the Splash Screen to the Brightcove Cast app receiver.
|
static com.google.android.gms.common.api.PendingResult<com.google.android.gms.common.api.Status> |
sendBrightcoveMessage(com.google.android.gms.cast.framework.CastSession castSession,
BrightcoveMessage message)
Send a BrightcoveMessage to the Brightcove Cast app receiver.
|
static com.google.android.gms.common.api.PendingResult<com.google.android.gms.common.api.Status> |
sendMessage(com.google.android.gms.cast.framework.CastSession castSession,
java.lang.String message)
Send a message to the Brightcove Cast app receiver.
|
public static com.google.android.gms.common.api.PendingResult<com.google.android.gms.common.api.Status> sendMessage(@NonNull com.google.android.gms.cast.framework.CastSession castSession, @NonNull java.lang.String message)
castSession
- the cast sessionmessage
- the messagepublic static com.google.android.gms.common.api.PendingResult<com.google.android.gms.common.api.Status> sendBrightcoveMessage(@NonNull com.google.android.gms.cast.framework.CastSession castSession, @NonNull BrightcoveMessage message)
castSession
- the cast sessionmessage
- the messagepublic static com.google.android.gms.common.api.PendingResult<com.google.android.gms.common.api.Status> castSplashScreen(@NonNull com.google.android.gms.cast.framework.CastSession castSession, @NonNull SplashScreen splashScreen)
castSession
- the cast sessionsplashScreen
- the splash screen