static void n_SetTitle_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.Title = p0; }
static void n_SetmExtra_Ljava_lang_String_Ljava_lang_Object_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Object p1 = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_p1, JniHandleOwnership.DoNotTransfer); __this.SetmExtra(p0, p1); }
public virtual unsafe void SetMedia(global::Com.Umeng.Socialize.Media.BaseMediaObject p0) { if (id_setMedia_Lcom_umeng_socialize_media_BaseMediaObject_ == IntPtr.Zero) { id_setMedia_Lcom_umeng_socialize_media_BaseMediaObject_ = JNIEnv.GetMethodID(class_ref, "setMedia", "(Lcom/umeng/socialize/media/BaseMediaObject;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_setMedia_Lcom_umeng_socialize_media_BaseMediaObject_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setMedia", "(Lcom/umeng/socialize/media/BaseMediaObject;)V"), __args); } } finally { } }
static IntPtr n_GetMediaType(IntPtr jnienv, IntPtr native__this) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.MediaType)); }
static IntPtr n_ToUrlExtraParams(IntPtr jnienv, IntPtr native__this) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(__this.ToUrlExtraParams())); }
static IntPtr n_ToByte(IntPtr jnienv, IntPtr native__this) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewArray(__this.ToByte())); }
static void n_SetThumb_Lcom_umeng_socialize_media_UMImage_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Umeng.Socialize.Media.UMImage p0 = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.UMImage> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetThumb(p0); }
static bool n_IsUrlMedia(IntPtr jnienv, IntPtr native__this) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsUrlMedia); }
static IntPtr n_GetDescription(IntPtr jnienv, IntPtr native__this) { global::Com.Umeng.Socialize.Media.BaseMediaObject __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Description)); }
static void n_SetMedia_Lcom_umeng_socialize_media_BaseMediaObject_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Umeng.Socialize.Net.LinkcardRequest __this = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Net.LinkcardRequest> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Umeng.Socialize.Media.BaseMediaObject p0 = global::Java.Lang.Object.GetObject <global::Com.Umeng.Socialize.Media.BaseMediaObject> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetMedia(p0); }