Class LiveButtonController

    • Field Detail

    • Constructor Detail

      • LiveButtonController

        public LiveButtonController​(android.content.Context context,
                                    BaseVideoView videoView,
                                    android.view.View controlBar,
                                    android.graphics.Typeface font,
                                    android.os.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.