コード例 #1
0
		private static void loadAd(AdMode adMode, AdEventListener listener, bool is3D) {
			init();
			int adModeIndex = (int)adMode;
			AndroidJavaObject adModeIndexInteger = new AndroidJavaObject("java.lang.Integer", adModeIndex);
			AndroidJavaObject is3DBoolean = new AndroidJavaObject("java.lang.Boolean", is3D);
			if (listener == null) {
				wrapper.Call ("loadAd", adModeIndexInteger);
				return;
			}
			wrapper.Call ("loadAd", adModeIndexInteger, new ImplementationAdEventListener (listener));
		}
コード例 #2
0
		public static void loadAd(AdMode adMode) {
			loadAd (adMode, null);
		}
コード例 #3
0
		public static void loadAd(AdMode adMode, AdEventListener listener) {
			loadAd (adMode, listener, false);
		}
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of AppSettings.
 /// </summary>
 /// <param name="src">Settings to clone.</param>
 public AppSettings(AppSettings src)
 {
     this.SettingsUrl = src.SettingsUrl;
     this.IsTest = src.IsTest;
     this.AdMode = src.AdMode;
 }