static IntPtr n_InvokeMyLocationIcon_Lcom_amap_api_maps2d_model_BitmapDescriptor_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amap.Api.Maps2d.Model.MyLocationStyle __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.MyLocationStyle> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Amap.Api.Maps2d.Model.BitmapDescriptor p0 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.BitmapDescriptor> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeMyLocationIcon(p0)); return(__ret); }
public unsafe void SetImage(global::Com.Amap.Api.Maps2d.Model.BitmapDescriptor p0) { if (id_setImage_Lcom_amap_api_maps2d_model_BitmapDescriptor_ == IntPtr.Zero) { id_setImage_Lcom_amap_api_maps2d_model_BitmapDescriptor_ = JNIEnv.GetMethodID(class_ref, "setImage", "(Lcom/amap/api/maps2d/model/BitmapDescriptor;)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_setImage_Lcom_amap_api_maps2d_model_BitmapDescriptor_, __args); }
public unsafe void SetImage(global::Com.Amap.Api.Maps2d.Model.BitmapDescriptor p0) { const string __id = "setImage.(Lcom/amap/api/maps2d/model/BitmapDescriptor;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); _members.InstanceMethods.InvokeNonvirtualVoidMethod(__id, this, __args); } finally { } }
public unsafe global::Com.Amap.Api.Maps2d.Model.MarkerOptions InvokeIcon(global::Com.Amap.Api.Maps2d.Model.BitmapDescriptor p0) { const string __id = "icon.(Lcom/amap/api/maps2d/model/BitmapDescriptor;)Lcom/amap/api/maps2d/model/MarkerOptions;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.InstanceMethods.InvokeNonvirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.MarkerOptions> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
static void n_SetImage_Lcom_amap_api_maps2d_model_BitmapDescriptor_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amap.Api.Interfaces.IGroundOverlay __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Interfaces.IGroundOverlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Amap.Api.Maps2d.Model.BitmapDescriptor p0 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.BitmapDescriptor> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetImage(p0); }