Object EmbeddedRuleController
-
- All Implemented Interfaces:
public class EmbeddedRuleControllerEmbeddedRuleController 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
-
-
Field Summary
Fields Modifier and Type Field Description public final static EmbeddedRuleControllerINSTANCE
-
Method Summary
-
-
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
-
-
-
-