static IntPtr n_Bound_Lcom_baidu_mapapi_model_LatLngBounds_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Mapapi.Search.Poi.PoiBoundSearchOption __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Poi.PoiBoundSearchOption> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Mapapi.Model.LatLngBounds p0 = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Model.LatLngBounds> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Bound(p0)); return(__ret); }
public unsafe void SetPositionFromBounds(global::Com.Baidu.Mapapi.Model.LatLngBounds p0) { if (id_setPositionFromBounds_Lcom_baidu_mapapi_model_LatLngBounds_ == IntPtr.Zero) { id_setPositionFromBounds_Lcom_baidu_mapapi_model_LatLngBounds_ = JNIEnv.GetMethodID(class_ref, "setPositionFromBounds", "(Lcom/baidu/mapapi/model/LatLngBounds;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(Handle, id_setPositionFromBounds_Lcom_baidu_mapapi_model_LatLngBounds_, __args); } finally { } }
public unsafe global::Com.Baidu.Mapapi.Map.TileOverlayOptions SetPositionFromBounds(global::Com.Baidu.Mapapi.Model.LatLngBounds p0) { const string __id = "setPositionFromBounds.(Lcom/baidu/mapapi/model/LatLngBounds;)Lcom/baidu/mapapi/map/TileOverlayOptions;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.InstanceMethods.InvokeAbstractObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.TileOverlayOptions> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
public unsafe global::Com.Baidu.Mapapi.Map.GroundOverlayOptions PositionFromBounds(global::Com.Baidu.Mapapi.Model.LatLngBounds p0) { if (id_positionFromBounds_Lcom_baidu_mapapi_model_LatLngBounds_ == IntPtr.Zero) { id_positionFromBounds_Lcom_baidu_mapapi_model_LatLngBounds_ = JNIEnv.GetMethodID(class_ref, "positionFromBounds", "(Lcom/baidu/mapapi/model/LatLngBounds;)Lcom/baidu/mapapi/map/GroundOverlayOptions;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Baidu.Mapapi.Map.GroundOverlayOptions __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.GroundOverlayOptions> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_positionFromBounds_Lcom_baidu_mapapi_model_LatLngBounds_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }
public static unsafe global::Com.Baidu.Mapapi.Map.MapStatusUpdate NewLatLngBounds(global::Com.Baidu.Mapapi.Model.LatLngBounds p0, int p1, int p2, int p3, int p4) { const string __id = "newLatLngBounds.(Lcom/baidu/mapapi/model/LatLngBounds;IIII)Lcom/baidu/mapapi/map/MapStatusUpdate;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [5]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JniArgumentValue(p1); __args [2] = new JniArgumentValue(p2); __args [3] = new JniArgumentValue(p3); __args [4] = new JniArgumentValue(p4); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.MapStatusUpdate> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
public virtual unsafe global::Com.Baidu.Mapapi.Search.Poi.PoiBoundSearchOption Bound(global::Com.Baidu.Mapapi.Model.LatLngBounds p0) { if (id_bound_Lcom_baidu_mapapi_model_LatLngBounds_ == IntPtr.Zero) { id_bound_Lcom_baidu_mapapi_model_LatLngBounds_ = JNIEnv.GetMethodID(class_ref, "bound", "(Lcom/baidu/mapapi/model/LatLngBounds;)Lcom/baidu/mapapi/search/poi/PoiBoundSearchOption;"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); global::Com.Baidu.Mapapi.Search.Poi.PoiBoundSearchOption __ret; if (GetType() == ThresholdType) { __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Poi.PoiBoundSearchOption> (JNIEnv.CallObjectMethod(Handle, id_bound_Lcom_baidu_mapapi_model_LatLngBounds_, __args), JniHandleOwnership.TransferLocalRef); } else { __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Poi.PoiBoundSearchOption> (JNIEnv.CallNonvirtualObjectMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "bound", "(Lcom/baidu/mapapi/model/LatLngBounds;)Lcom/baidu/mapapi/search/poi/PoiBoundSearchOption;"), __args), JniHandleOwnership.TransferLocalRef); } return(__ret); } finally { } }
public static unsafe global::Com.Baidu.Mapapi.Map.MapStatusUpdate NewLatLngBounds(global::Com.Baidu.Mapapi.Model.LatLngBounds p0, int p1, int p2) { if (id_newLatLngBounds_Lcom_baidu_mapapi_model_LatLngBounds_II == IntPtr.Zero) { id_newLatLngBounds_Lcom_baidu_mapapi_model_LatLngBounds_II = JNIEnv.GetStaticMethodID(class_ref, "newLatLngBounds", "(Lcom/baidu/mapapi/model/LatLngBounds;II)Lcom/baidu/mapapi/map/MapStatusUpdate;"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); global::Com.Baidu.Mapapi.Map.MapStatusUpdate __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Map.MapStatusUpdate> (JNIEnv.CallStaticObjectMethod(class_ref, id_newLatLngBounds_Lcom_baidu_mapapi_model_LatLngBounds_II, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }