Millennial Media Android Ad SDK Public Documentation  6.8.1
Public Member Functions | List of all members
AppInfo Class Reference

Public Member Functions

 AppInfo ()
 
AppInfo setSiteId (String siteId)
 
String getSiteId ()
 
AppInfo setMediator (String mediator)
 
String getMediator ()
 
AppInfo setCoppa (boolean compliance)
 
Boolean getCoppa ()
 

Detailed Description

Represents information about the application that can be passed along with an ad request to improve ad targeting.

Constructor & Destructor Documentation

◆ AppInfo()

AppInfo ( )

Creates a new AppInfo object.

Member Function Documentation

◆ getCoppa()

Boolean getCoppa ( )

Gets the COPPA (Children’s Online Privacy Protection Act) enabled value for the application.

◆ getMediator()

String getMediator ( )

Gets the mediator for the application.

◆ getSiteId()

String getSiteId ( )

Gets the site ID for the application.

Returns

◆ setCoppa()

AppInfo setCoppa ( boolean  compliance)

Set to true to convey to ad buyers that COPPA (Children's Online Privacy Protection Act) restrictions need to be enforced for requests from this user.

Parameters
complianceWhether COPPA compliance is enforced.
Returns
AppInfo

◆ setMediator()

AppInfo setMediator ( String  mediator)

Sets the mediator for the application.

Parameters
mediatorshould include both the adapter name and version when mediating to the MM SDK
Returns
AppInfo

◆ setSiteId()

AppInfo setSiteId ( String  siteId)

Sets the site ID for the application.

Parameters
siteIdsite identifier
Returns
AppInfo