setAutoCastIfPlaying

open fun setAutoCastIfPlaying(autoCastIfPlaying: Boolean)

If enabled, the video playing locally will be automatically loaded to your Chromecast app receiver as soon as you get connected.

Parameters

autoCastIfPlaying

true to enable auto cast if playing.