ISmartPlayAdapter

The Vizbee SDK interacts with the host app via a set of adapter methods. These adapter methods enable Vizbee to intelligently play (and resume from last playback position) a video on a local phone or tablet, or TV device or present an interface for device selection to the user when a video playback is invoked.

Functions

Link copied to clipboard
abstract fun getMetadataFromVideo(@NonNull appVideoObject: Any, callback: ICommandCallback<VideoMetadata>)
Map host app's video object to Vizbee VideoMetadata.
Link copied to clipboard
abstract fun getStreamingInfoFromVideo(@NonNull appVideoObject: Any, screenType: ScreenType, callback: ICommandCallback<VideoStreamInfo>)
Map host app's video object to Vizbee VideoStreamInfo.
Link copied to clipboard
abstract fun getVideoInfoByGUID(@NonNull guid: String, callback: ICommandCallback<Any>)
Link copied to clipboard
abstract fun playOnLocalDevice(context: Context, video: Any, position: Long, shouldAutoPlay: Boolean)
Adapter method to play a video on local phone or tablet device.