SdkConfiguration /5.0.0

public class SdkConfiguration

Object holding any SDK initialization parameters.

Public Methods

public Set<String> /getAdapterConfigurationClasses() /+5.5.0

  • Description: Returns a Set containing Strings of class names of adapter configurations to initialize upon the MoPub SDK’s initialization.

  • Parameters: None.

public String /getAdUnitId() /+5.0.0

  • Description: Returns a String containing the ad unit ID used by the app.

  • Parameters: None.

public boolean /getLegitimateInterestAllowed() /+5.5.0

  • Description: Returns a boolean indicating whether legitimate interest is allowed for the collection of personally identifiable information. Returns true if allowed; false otherwise.

  • Parameters: None.

public Map<String,Map<String,String>> /getMediatedNetworkConfigurations() /+5.5.0

  • Description: Returns a Map containing entries corresponding to adapter configuration options used in the initialization of networks.

  • Parameters: None.

public MediationSettings[] /getMediationSettings() /+5.0.0

  • Description: Returns the MediationSettings interface containing settings unique to a rewarded video mediation adapter.

  • Parameters: None.

public Map<String,Map<String,String>> /getMoPubRequestOptions() /+5.5.0

  • Description: Returns a Map containing entries corresponding to adapter configuration request options passed to the ad server.

  • Parameters: None.

Last updated October 06, 2020

TWITTER, MOPUB, and the Bird logo are trademarks of Twitter, Inc. or its affiliates. All third party logos and trademarks included are the property of their respective owners.

© 2020 MoPub (a division of Twitter, Inc.)