Ejemplo n.º 1
0
 public static void InitializeSdk(string anyAdUnitId)
 {
     MoPubBase.ValidateAdUnitForSdkInit(anyAdUnitId);
     MoPubBase.SdkConfiguration sdkConfiguration = new MoPubBase.SdkConfiguration {
         AdUnitId = anyAdUnitId
     };
     InitializeSdk(sdkConfiguration);
 }
Ejemplo n.º 2
0
    public static void InitializeSdk(string anyAdUnitId)
    {
        MoPubBase.ValidateAdUnitForSdkInit(anyAdUnitId);
        SdkConfiguration sdkConfiguration = default(SdkConfiguration);

        sdkConfiguration.AdUnitId = anyAdUnitId;
        InitializeSdk(sdkConfiguration);
    }
Ejemplo n.º 3
0
 public static void InitializeSdk(MoPubBase.SdkConfiguration sdkConfiguration)
 {
     MoPubBase.logLevel = sdkConfiguration.LogLevel;
     MoPubLog.Log("InitializeSdk", "SDK initialization started", Array.Empty <object>());
     MoPubBase.ValidateAdUnitForSdkInit(sdkConfiguration.AdUnitId);
     object[] args = new object[] { sdkConfiguration.AdUnitId, sdkConfiguration.AdditionalNetworksString, sdkConfiguration.MediationSettingsJson, sdkConfiguration.AllowLegitimateInterest, (int)sdkConfiguration.LogLevel, sdkConfiguration.NetworkConfigurationsJson, sdkConfiguration.MoPubRequestOptionsJson };
     PluginClass.CallStatic("initializeSdk", args);
 }
Ejemplo n.º 4
0
 public static void InitializeSdk(string anyAdUnitId)
 {
     MoPubLog.Log("InitializeSdk", "SDK initialization started", Array.Empty <object>());
     MoPubBase.ValidateAdUnitForSdkInit(anyAdUnitId);
     MoPubBase.SdkConfiguration sdkConfiguration = new MoPubBase.SdkConfiguration {
         AdUnitId = anyAdUnitId
     };
     InitializeSdk(sdkConfiguration);
 }
Ejemplo n.º 5
0
 public static void InitializeSdk(MoPubBase.SdkConfiguration sdkConfiguration)
 {
     MoPubBase.ValidateAdUnitForSdkInit(sdkConfiguration.AdUnitId);
     MoPubAndroid.PluginClass.CallStatic("initializeSdk", new object[]
     {
         sdkConfiguration.AdUnitId,
         sdkConfiguration.AdvancedBiddersString,
         sdkConfiguration.MediationSettingsJson,
         sdkConfiguration.NetworksToInitString
     });
 }
Ejemplo n.º 6
0
 public static void InitializeSdk(SdkConfiguration sdkConfiguration)
 {
     MoPubBase.ValidateAdUnitForSdkInit(sdkConfiguration.AdUnitId);
     _moPubInitializeSdk(sdkConfiguration.AdUnitId, sdkConfiguration.AdvancedBiddersString, sdkConfiguration.MediationSettingsJson, sdkConfiguration.NetworksToInitString);
 }
Ejemplo n.º 7
0
 public static void InitializeSdk(MoPubBase.SdkConfiguration sdkConfiguration)
 {
     MoPubBase.logLevel = sdkConfiguration.LogLevel;
     MoPubBase.ValidateAdUnitForSdkInit(sdkConfiguration.AdUnitId);
     _moPubInitializeSdk(sdkConfiguration.AdUnitId, sdkConfiguration.AdditionalNetworksString, sdkConfiguration.MediationSettingsJson, sdkConfiguration.AllowLegitimateInterest, (int)sdkConfiguration.LogLevel, sdkConfiguration.NetworkConfigurationsJson, sdkConfiguration.MoPubRequestOptionsJson);
 }
Ejemplo n.º 8
0
 public static void InitializeSdk(MoPubBase.SdkConfiguration sdkConfiguration)
 {
     MoPubBase.ValidateAdUnitForSdkInit(sdkConfiguration.AdUnitId);
 }