public void HandleNativeExpressAdRenderSuccess(object sender, YumiNativeDataEventArgs args) { statusText.text = "HandleNativeExpressAdRenderSuccess"; ShowNativeExpressAd(args.nativeData); Logger.Log("HandleNativeExpressAdRenderSuccess"); }
void onExpressAdClickCloseButton(string uniqueId) { if (uniqueId == null) { return; } YumiNativeDataEventArgs args = new YumiNativeDataEventArgs() { nativeData = getNativeData(uniqueId) }; OnExpressAdClickCloseButton(this, args); }
void onExpressAdRenderSuccess(string uniqueId) { if (uniqueId == null) { return; } YumiNativeDataEventArgs args = new YumiNativeDataEventArgs() { nativeData = getNativeData(uniqueId) }; OnExpressAdRenderSuccess(this, args); }
private static void NativeExpressAdDidClickCloseButtonCallback(IntPtr nativeClient, string nativeDataKey) { YumiNativeClient client = IntPtrToNativeClient(nativeClient); if (client.OnExpressAdClickCloseButton != null) { YumiNativeData model = client.GetNativeAdData(nativeDataKey); YumiNativeDataEventArgs args = new YumiNativeDataEventArgs() { nativeData = model }; client.OnExpressAdClickCloseButton(client, args); } }