Millennial Media Android Ad SDK Public Documentation  6.6.1
Static Public Member Functions | List of all members
CustomEventRegistry Class Reference

Static Public Member Functions

static void register (String mediationId, Class<? extends AdPlacement > adPlacementClass, String customEventClass)
 

Detailed Description

This class provides a mechanism for registering a custom event class for a specific placement and third party network. The One by AOL SDK comes pre-registered with third party custom events provided with the SDK. A publisher will only need to register a custom event when it's not provided by AOL.

Member Function Documentation

◆ register()

static void register ( String  mediationId,
Class<? extends AdPlacement >  adPlacementClass,
String  customEventClass 
)
static

This method is used to register a custom event class for a specific placement and mediation identifier. The mediation identifier is provided by AOL for the third party network. This method only needs to be used by a publisher when registering a custom event that was not provided by AOL.

Possible values provided by the SDK for adPlacementClass are com.millennialmedia.InlineAd, com.millennialmedia.InterstitialAd and com.millennialmedia.NativeAd.

Parameters
mediationIdthe mediation network id assigned by AOL
adPlacementClassthe ad placement class for this custom event
customEventClassthe custom event class that will provide the ads for this placement type