protected override void _pushEventSubmitScoreFailed(SubmitScoreFailedEvent ev)
 {
     if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider))
     {
         return;
     }
     soomlaProfile_PushEventReportScoreFailed(ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.ErrorDescription, ev.Payload);
 }
Exemple #2
0
 protected override void _pushEventSubmitScoreFailed(SubmitScoreFailedEvent ev)
 {
     if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider))
     {
         return;
     }
     AndroidJNI.PushLocalFrame(100);
     using (AndroidJavaClass jniSoomlaProfile = new AndroidJavaClass("com.soomla.profile.unity.ProfileEventHandler")) {
         ProfileJNIHandler.CallStaticVoid(jniSoomlaProfile, "pushEventSubmitScoreFailed",
                                          ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.ErrorDescription, ev.Payload);
     }
     AndroidJNI.PopLocalFrame(IntPtr.Zero);
 }
			protected virtual void _pushEventSubmitScoreFailed(SubmitScoreFailedEvent submitScoreFailedEvent) {}
		protected override void _pushEventSubmitScoreFailed(SubmitScoreFailedEvent ev) {
			if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider)) return;
			AndroidJNI.PushLocalFrame(100);
			using(AndroidJavaClass jniSoomlaProfile = new AndroidJavaClass("com.soomla.profile.unity.ProfileEventHandler")) {
				ProfileJNIHandler.CallStaticVoid(jniSoomlaProfile, "pushEventSubmitScoreFailed",
						ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.ErrorDescription, ev.Payload);
			}
			AndroidJNI.PopLocalFrame(IntPtr.Zero);
		}
		protected override void _pushEventSubmitScoreFailed(SubmitScoreFailedEvent ev) {
			if (SoomlaProfile.IsProviderNativelyImplemented(ev.Provider)) return;
			soomlaProfile_PushEventReportScoreFailed(ev.Provider.ToString(), ev.Destination.toJSONObject().ToString(), ev.ErrorDescription, ev.Payload);
		}
 protected virtual void _pushEventSubmitScoreFailed(SubmitScoreFailedEvent submitScoreFailedEvent)
 {
 }