public static unsafe global::com.mopub.common.CreativeOrientation 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/CreativeOrientation;"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); global::com.mopub.common.CreativeOrientation __ret = global::Java.Lang.Object.GetObject <global::com.mopub.common.CreativeOrientation> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public static unsafe void Start(global::Android.Content.Context p0, string p1, global::com.mopub.common.AdReport p2, bool p3, string p4, string p5, global::com.mopub.common.CreativeOrientation p6, long p7) { if (id_start_Landroid_content_Context_Ljava_lang_String_Lcom_mopub_common_AdReport_ZLjava_lang_String_Ljava_lang_String_Lcom_mopub_common_CreativeOrientation_J == IntPtr.Zero) { id_start_Landroid_content_Context_Ljava_lang_String_Lcom_mopub_common_AdReport_ZLjava_lang_String_Ljava_lang_String_Lcom_mopub_common_CreativeOrientation_J = JNIEnv.GetStaticMethodID(class_ref, "start", "(Landroid/content/Context;Ljava/lang/String;Lcom/mopub/common/AdReport;ZLjava/lang/String;Ljava/lang/String;Lcom/mopub/common/CreativeOrientation;J)V"); } IntPtr native_p1 = JNIEnv.NewString(p1); IntPtr native_p4 = JNIEnv.NewString(p4); IntPtr native_p5 = JNIEnv.NewString(p5); try { JValue *__args = stackalloc JValue [8]; __args [0] = new JValue(p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(native_p4); __args [5] = new JValue(native_p5); __args [6] = new JValue(p6); __args [7] = new JValue(p7); JNIEnv.CallStaticVoidMethod(class_ref, id_start_Landroid_content_Context_Ljava_lang_String_Lcom_mopub_common_AdReport_ZLjava_lang_String_Ljava_lang_String_Lcom_mopub_common_CreativeOrientation_J, __args); } finally { JNIEnv.DeleteLocalRef(native_p1); JNIEnv.DeleteLocalRef(native_p4); JNIEnv.DeleteLocalRef(native_p5); } }