LiveButtonController

constructor(context: Context, videoView: BaseVideoView, controlBar: View, font: Typeface, bundle: Bundle)

Builds a button controller to handle the live button, handling things like setting the foreground color to provide the user with an indication that the video is showing either live video or recorded video, returning to showing live video, handling initial play, etc.

Parameters

context

The Android application context.

videoView

The SDK video view object parenting the control bar.

controlBar

The button widget parent view.

font

The, possibly null, typeface for the button.