Class POBMraidBridge

  • All Implemented Interfaces:

    @MainThread() 
    public class POBMraidBridge
    
                        

    Bridge class to communicate between the MRAID ad creative and

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void nativeCall(@Nullable() String commandScheme) Native method to handle the events/commands coming from MRAID ad
      void error(String str) Native method to handle the error coming from MRAID ad
      void log(String str) Native method to handle the logs coming from MRAID ad
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • nativeCall

        @AnyThread() void nativeCall(@Nullable() String commandScheme)

        Native method to handle the events/commands coming from MRAID ad

        Parameters:
        commandScheme - command name
      • error

         void error(String str)

        Native method to handle the error coming from MRAID ad

        Parameters:
        str - error description
      • log

         void log(String str)

        Native method to handle the logs coming from MRAID ad

        Parameters:
        str - log message from JS