play On Local Device
abstract fun playOnLocalDevice(context: Context, video: Any, position: Long, shouldAutoPlay: Boolean)
Adapter method to play a video on local phone or tablet device. SmartPlay will default to this method when there are no TV devices nearby.
Parameters
context
Activity context
video
Host app's video object returned by getVideoInfoByGUID
position
Position at which the video should be resumed
should Auto Play
Flag to specify whether local playback should automatically start; otherwise, video should be paused.