Class VideoStillDisplayComponent

  • All Implemented Interfaces:
    Component

    @Emits(events={"didSetVideoStill","didRemoveVideoStill"})
    @ListensFor(events={"activityStopped","cuePoint","didSeekTo","progress","adProgress","adBreakStarted","fragmentStopped","setVideoStill","willInterruptContent","removeVideoStill"})
    public class VideoStillDisplayComponent
    extends AbstractComponent
    implements Component
    Provides a simple Component interface to load Video Still images from a Video object into an ImageView. Makes use of LoadImageTask to handle loading images over the network.
    • Field Detail

      • TAG

        public static final java.lang.String TAG
    • Constructor Detail

      • VideoStillDisplayComponent

        public VideoStillDisplayComponent​(android.widget.ImageView view,
                                          EventEmitter eventEmitter)
        Initializes this component with the given ImageView and EventEmitter. The Video Still image URL provided in the SET_VIDEO_STILL event will be used to load the image into the ImageView.
        Parameters:
        view - the ImageView in which the Video Still image will be loaded.
        eventEmitter - the EventEmitter to use in this Component