static void n_InAppNotificationDidShow_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Clevertap.Android.Sdk.CTInAppBaseFragment.IInAppListener __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppBaseFragment.IInAppListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Clevertap.Android.Sdk.CTInAppNotification p0 = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification> (native_p0, JniHandleOwnership.DoNotTransfer); global::Android.OS.Bundle p1 = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_p1, JniHandleOwnership.DoNotTransfer); __this.InAppNotificationDidShow(p0, p1); }
static void n_WriteToParcel_Landroid_os_Parcel_I(IntPtr jnienv, IntPtr native__this, IntPtr native_dest, int native_flags) { global::Com.Clevertap.Android.Sdk.CTInAppNotification __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.OS.Parcel dest = global::Java.Lang.Object.GetObject <global::Android.OS.Parcel> (native_dest, JniHandleOwnership.DoNotTransfer); global::Android.OS.ParcelableWriteFlags flags = (global::Android.OS.ParcelableWriteFlags)native_flags; __this.WriteToParcel(dest, flags); }
static void n_InAppNotificationDidDismiss_Landroid_content_Context_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Clevertap.Android.Sdk.InAppNotificationActivity.IInAppActivityListener __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.InAppNotificationActivity.IInAppActivityListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.Context p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Clevertap.Android.Sdk.CTInAppNotification p1 = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification> (native_p1, JniHandleOwnership.DoNotTransfer); global::Android.OS.Bundle p2 = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_p2, JniHandleOwnership.DoNotTransfer); __this.InAppNotificationDidDismiss(p0, p1, p2); }
#pragma warning restore 0649 public void InAppNotificationDidShow(global::Android.Content.Context p0, global::Com.Clevertap.Android.Sdk.CTInAppNotification p1, global::Android.OS.Bundle p2) { var __h = InAppNotificationDidShowHandler; if (__h != null) { __h(sender, new InAppNotificationDidShowEventArgs(p0, p1, p2)); } }
static void n_InAppNotificationDidClick_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_Ljava_util_HashMap_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::Com.Clevertap.Android.Sdk.CTInAppBaseFragment.IInAppListener __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppBaseFragment.IInAppListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Clevertap.Android.Sdk.CTInAppNotification p0 = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification> (native_p0, JniHandleOwnership.DoNotTransfer); global::Android.OS.Bundle p1 = global::Java.Lang.Object.GetObject <global::Android.OS.Bundle> (native_p1, JniHandleOwnership.DoNotTransfer); var p2 = global::Android.Runtime.JavaDictionary <string, string> .FromJniHandle(native_p2, JniHandleOwnership.DoNotTransfer); __this.InAppNotificationDidClick(p0, p1, p2); }
#pragma warning restore 0649 public void InAppNotificationDidClick(global::Com.Clevertap.Android.Sdk.CTInAppNotification p0, global::Android.OS.Bundle p1, global::System.Collections.Generic.IDictionary <string, string> p2) { var __h = InAppNotificationDidClickHandler; if (__h != null) { __h(sender, new InAppNotificationDidClickEventArgs(p0, p1, p2)); } }
#pragma warning restore 0649 public void NotificationReady(global::Com.Clevertap.Android.Sdk.CTInAppNotification p0) { var __h = Handler; if (__h != null) { __h(sender, new CTInAppNotificationEventArgs(p0)); } }
public unsafe void NotificationReady(global::Com.Clevertap.Android.Sdk.CTInAppNotification p0) { if (id_notificationReady_Lcom_clevertap_android_sdk_CTInAppNotification_ == IntPtr.Zero) { id_notificationReady_Lcom_clevertap_android_sdk_CTInAppNotification_ = JNIEnv.GetMethodID(class_ref, "notificationReady", "(Lcom/clevertap/android/sdk/CTInAppNotification;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_notificationReady_Lcom_clevertap_android_sdk_CTInAppNotification_, __args); }
public unsafe void InAppNotificationDidShow(global::Com.Clevertap.Android.Sdk.CTInAppNotification p0, global::Android.OS.Bundle p1) { if (id_inAppNotificationDidShow_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_ == IntPtr.Zero) { id_inAppNotificationDidShow_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_ = JNIEnv.GetMethodID(class_ref, "inAppNotificationDidShow", "(Lcom/clevertap/android/sdk/CTInAppNotification;Landroid/os/Bundle;)V"); } JValue *__args = stackalloc JValue [2]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_inAppNotificationDidShow_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_, __args); }
public unsafe void InAppNotificationDidShow(global::Com.Clevertap.Android.Sdk.CTInAppNotification inAppNotification, global::Android.OS.Bundle formData) { const string __id = "inAppNotificationDidShow.(Lcom/clevertap/android/sdk/CTInAppNotification;Landroid/os/Bundle;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue((inAppNotification == null) ? IntPtr.Zero : ((global::Java.Lang.Object)inAppNotification).Handle); __args [1] = new JniArgumentValue((formData == null) ? IntPtr.Zero : ((global::Java.Lang.Object)formData).Handle); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { } }
public unsafe void InAppNotificationDidClick(global::Com.Clevertap.Android.Sdk.CTInAppNotification inAppNotification, global::Android.OS.Bundle formData, global::System.Collections.Generic.IDictionary <string, string> keyValueMap) { const string __id = "inAppNotificationDidClick.(Lcom/clevertap/android/sdk/CTInAppNotification;Landroid/os/Bundle;Ljava/util/HashMap;)V"; IntPtr native_keyValueMap = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(keyValueMap); try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((inAppNotification == null) ? IntPtr.Zero : ((global::Java.Lang.Object)inAppNotification).Handle); __args [1] = new JniArgumentValue((formData == null) ? IntPtr.Zero : ((global::Java.Lang.Object)formData).Handle); __args [2] = new JniArgumentValue(native_keyValueMap); _members.InstanceMethods.InvokeAbstractVoidMethod(__id, this, __args); } finally { JNIEnv.DeleteLocalRef(native_keyValueMap); } }
public unsafe void InAppNotificationDidClick(global::Com.Clevertap.Android.Sdk.CTInAppNotification p0, global::Android.OS.Bundle p1, global::System.Collections.Generic.IDictionary <string, string> p2) { if (id_inAppNotificationDidClick_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_Ljava_util_HashMap_ == IntPtr.Zero) { id_inAppNotificationDidClick_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_Ljava_util_HashMap_ = JNIEnv.GetMethodID(class_ref, "inAppNotificationDidClick", "(Lcom/clevertap/android/sdk/CTInAppNotification;Landroid/os/Bundle;Ljava/util/HashMap;)V"); } IntPtr native_p2 = global::Android.Runtime.JavaDictionary <string, string> .ToLocalJniHandle(p2); JValue *__args = stackalloc JValue [3]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle); __args [2] = new JValue(native_p2); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_inAppNotificationDidClick_Lcom_clevertap_android_sdk_CTInAppNotification_Landroid_os_Bundle_Ljava_util_HashMap_, __args); JNIEnv.DeleteLocalRef(native_p2); }
public InAppNotificationDidShowEventArgs(global::Android.Content.Context p0, global::Com.Clevertap.Android.Sdk.CTInAppNotification p1, global::Android.OS.Bundle p2) { this.p0 = p0; this.p1 = p1; this.p2 = p2; }
public InAppNotificationDidClickEventArgs(global::Android.Content.Context p0, global::Com.Clevertap.Android.Sdk.CTInAppNotification p1, global::Android.OS.Bundle p2, global::System.Collections.Generic.IDictionary <string, string> p3) { this.p0 = p0; this.p1 = p1; this.p2 = p2; this.p3 = p3; }
public InAppNotificationDidShowEventArgs(global::Com.Clevertap.Android.Sdk.CTInAppNotification p0, global::Android.OS.Bundle p1) { this.p0 = p0; this.p1 = p1; }
static int n_DescribeContents(IntPtr jnienv, IntPtr native__this) { global::Com.Clevertap.Android.Sdk.CTInAppNotification __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.DescribeContents()); }
static IntPtr n_GetInAppType(IntPtr jnienv, IntPtr native__this) { global::Com.Clevertap.Android.Sdk.CTInAppNotification __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.InAppType)); }
public CTInAppNotificationEventArgs(global::Com.Clevertap.Android.Sdk.CTInAppNotification p0) { this.p0 = p0; }
static void n_NotificationReady_Lcom_clevertap_android_sdk_CTInAppNotification_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Clevertap.Android.Sdk.CTInAppNotification.ICTInAppNotificationListener __this = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification.ICTInAppNotificationListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Clevertap.Android.Sdk.CTInAppNotification p0 = global::Java.Lang.Object.GetObject <global::Com.Clevertap.Android.Sdk.CTInAppNotification> (native_p0, JniHandleOwnership.DoNotTransfer); __this.NotificationReady(p0); }