Object EmbeddedRuleController

  • All Implemented Interfaces:

    
    public class EmbeddedRuleController
    
                        

    EmbeddedRuleController is used for handling ads shown inside of embedded activities (Secondary Activities) This ensures Interstitial Ads and expanded Banner Ads to take up entire screen instead of being shown in secondary pane alone as it affects the lifecycle of the ad. The side effect of this is that even the embedded browser is to take up entire screen as Same Activity class is used for showing both ads and Embedded Browser

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit setRules(Context context) setRules sets the rules on how InMobiAdActivitu is to be shown in multi pane scenarios.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • setRules

         final Unit setRules(Context context)

        setRules sets the rules on how InMobiAdActivitu is to be shown in multi pane scenarios. Current Behaviour is that InMobiAdActivity would take up entire screen rather than secondary or primary pane Calling this method once in an Application Lifecycle is necessary. Multiple calls are not required This should be called before starting the InMobiAdActivity.

        Parameters:
        context -
        • Application Context