Package 

Interface PulseComponent.Listener

    • Method Summary

      Modifier and Type Method Description
      abstract PulseSession onCreatePulseSession(@NonNull() String pulseHost, @NonNull() Video video, @NonNull() ContentMetadata contentMetadata, @NonNull() RequestSettings requestSettings) Called every time a new Pulse Session is needed (e.g., when a new content Video is set).The Pulse Component will be handling this Pulse Session.
      abstract void onOpenClickthrough(@NonNull() PulseVideoAd pulseVideoAd) Called when the user taps on the "Learn More" button from a Linear Ad.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onCreatePulseSession

        @NonNull() abstract PulseSession onCreatePulseSession(@NonNull() String pulseHost, @NonNull() Video video, @NonNull() ContentMetadata contentMetadata, @NonNull() RequestSettings requestSettings)

        Called every time a new Pulse Session is needed (e.g., when a new content Video is set).The Pulse Component will be handling this Pulse Session.

        Parameters:
        pulseHost - Pulse account host url.
        video - The current content video.
        contentMetadata - Content metadata to set Pulse properties.
        requestSettings - Request Setting to set Pulse properties.
      • onOpenClickthrough

         abstract void onOpenClickthrough(@NonNull() PulseVideoAd pulseVideoAd)

        Called when the user taps on the "Learn More" button from a Linear Ad.

        The app must call {@code PulseVideoAd.adClickThroughTriggered()} when the browser isopened to notify Pulse that the link has been shown.

        Parameters:
        pulseVideoAd - the pulse ad object to fetch the url to be displayed.