static void n_ApplyCloseRegionBounds_Lcom_mopub_common_CloseableLayout_ClosePosition_Landroid_graphics_Rect_Landroid_graphics_Rect_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2) { global::com.mopub.common.CloseableLayout __this = global::Java.Lang.Object.GetObject <global::com.mopub.common.CloseableLayout> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::com.mopub.common.CloseableLayout.ClosePosition p0 = global::Java.Lang.Object.GetObject <global::com.mopub.common.CloseableLayout.ClosePosition> (native_p0, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Rect p1 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Rect> (native_p1, JniHandleOwnership.DoNotTransfer); global::Android.Graphics.Rect p2 = global::Java.Lang.Object.GetObject <global::Android.Graphics.Rect> (native_p2, JniHandleOwnership.DoNotTransfer); __this.ApplyCloseRegionBounds(p0, p1, p2); }
public static unsafe global::com.mopub.common.CloseableLayout.ClosePosition ValueOf(string p0) { if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero) { id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/mopub/common/CloseableLayout$ClosePosition;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::com.mopub.common.CloseableLayout.ClosePosition __ret = global::Java.Lang.Object.GetObject <global::com.mopub.common.CloseableLayout.ClosePosition> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public virtual unsafe void SetClosePosition(global::com.mopub.common.CloseableLayout.ClosePosition p0) { if (id_setClosePosition_Lcom_mopub_common_CloseableLayout_ClosePosition_ == IntPtr.Zero) { id_setClosePosition_Lcom_mopub_common_CloseableLayout_ClosePosition_ = JNIEnv.GetMethodID(class_ref, "setClosePosition", "(Lcom/mopub/common/CloseableLayout$ClosePosition;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setClosePosition_Lcom_mopub_common_CloseableLayout_ClosePosition_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setClosePosition", "(Lcom/mopub/common/CloseableLayout$ClosePosition;)V"), __args); } } finally { } }
public virtual unsafe void ApplyCloseRegionBounds(global::com.mopub.common.CloseableLayout.ClosePosition p0, global::Android.Graphics.Rect p1, global::Android.Graphics.Rect p2) { if (id_applyCloseRegionBounds_Lcom_mopub_common_CloseableLayout_ClosePosition_Landroid_graphics_Rect_Landroid_graphics_Rect_ == IntPtr.Zero) { id_applyCloseRegionBounds_Lcom_mopub_common_CloseableLayout_ClosePosition_Landroid_graphics_Rect_Landroid_graphics_Rect_ = JNIEnv.GetMethodID(class_ref, "applyCloseRegionBounds", "(Lcom/mopub/common/CloseableLayout$ClosePosition;Landroid/graphics/Rect;Landroid/graphics/Rect;)V"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_applyCloseRegionBounds_Lcom_mopub_common_CloseableLayout_ClosePosition_Landroid_graphics_Rect_Landroid_graphics_Rect_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "applyCloseRegionBounds", "(Lcom/mopub/common/CloseableLayout$ClosePosition;Landroid/graphics/Rect;Landroid/graphics/Rect;)V"), __args); } } finally { } }
static void n_SetClosePosition_Lcom_mopub_common_CloseableLayout_ClosePosition_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::com.mopub.common.CloseableLayout __this = global::Java.Lang.Object.GetObject <global::com.mopub.common.CloseableLayout> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::com.mopub.common.CloseableLayout.ClosePosition p0 = global::Java.Lang.Object.GetObject <global::com.mopub.common.CloseableLayout.ClosePosition> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetClosePosition(p0); }