Class POBVastPlayerConfig

    • Constructor Detail

    • Method Detail

      • getMinDuration

         int getMinDuration()

        Minimum video ad duration in seconds

        Returns:

        minDuration in seconds

      • getMaxDuration

         int getMaxDuration()

        Maximum video ad duration in seconds

        Returns:

        maxDuration in seconds

      • getSkip

         int getSkip()

        Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes

        Returns:

        skipValue either 0 or 1

      • getSkipMin

         int getSkipMin()

        Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.

        Returns:

        skipMin in seconds

      • getSkipAfter

         int getSkipAfter()

        Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.

        Returns:

        skipAfter in seconds

      • getWrapperUriTimeout

         int getWrapperUriTimeout()

        Wrapper Uri request timeout

        Returns:

        the wrapperUriTimeout in millisecond's

      • getMediaUriTimeout

         int getMediaUriTimeout()

        Media Uri loading timeout

        Returns:

        the mediaUriTimeout in millisecond's

      • getEndCardSkipAfter

         int getEndCardSkipAfter()

        Number of seconds a end card must be shown before skipping is enabled.

        Returns:

        skipAfter in seconds

      • isPlayOnMute

         boolean isPlayOnMute()

        Returns the player behavior to play video creative with sound On/Off.

        Returns:

        player state. true indicates video should be layed with sound OFF else ON.

      • isBackButtonEnabled

         boolean isBackButtonEnabled()

        Returns if hardware back button should be enabled or not

        Returns:

        back button state. true indicates button should be enabled, false by default

      • isSkipAfterCompletionEnabled

         boolean isSkipAfterCompletionEnabled()

        Return true if default skip is after completion.

        Returns:

        skipAfterCompletion state, true means default skip is after completion, false by default.

      • shouldShowEndCardNavigationControl

         boolean shouldShowEndCardNavigationControl()

        Helps to decide whether to show controller button on end card. Note: Default value is true.

        Returns:

        showControlButtonOnEndCard state.

      • isCtaOverlayEnabled

         boolean isCtaOverlayEnabled()

        Returns whether CTA overlay is enabled (from bid or VAST creative). When false, CTA overlay will not be shown (e.g. for native ad type).

        Returns:

        true if CTA overlay is enabled, false otherwise