Searched refs:captionCallback (Results 1 – 1 of 1) sorted by relevance
428 @Nullable private CaptionCallback captionCallback; field in MediaSessionConnector623 public void setCaptionCallback(@Nullable CaptionCallback captionCallback) { in setCaptionCallback() argument624 if (this.captionCallback != captionCallback) { in setCaptionCallback()625 unregisterCommandReceiver(this.captionCallback); in setCaptionCallback()626 this.captionCallback = captionCallback; in setCaptionCallback()627 registerCommandReceiver(this.captionCallback); in setCaptionCallback()864 enableSetCaptioningEnabled = captionCallback != null && captionCallback.hasCaptions(player); in buildPlaybackActions()924 return player != null && captionCallback != null; in canDispatchSetCaptioningEnabled()1366 captionCallback.onSetCaptioningEnabled(player, enabled); in onSetCaptioningEnabled()