Class POBVastPlayerConfig

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int getMinDuration() Minimum video ad duration in seconds
      int getMaxDuration() Maximum video ad duration in seconds
      int getSkip() Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes
      int getSkipMin() Videos of total duration greater than this number of seconds can be skippable; only applicable if the ad is skippable.
      int getSkipAfter() Number of seconds a video must play before skipping is enabled; only applicable if the ad is skippable.
      int getWrapperUriTimeout() Wrapper Uri request timeout
      int getMediaUriTimeout() Media Uri loading timeout
      int getEndCardSkipAfter() Number of seconds a end card must be shown before skipping is enabled.
      boolean isPlayOnMute() Returns the player behavior to play video creative with sound On/Off.
      boolean isBackButtonEnabled() Returns if hardware back button should be enabled or not
      boolean isSkipAfterCompletionEnabled() Return true if default skip is after completion.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.