static IntPtr n_InvokeCamera_Lcom_amap_api_maps2d_model_CameraPosition_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amap.Api.Maps2d.AMapOptions __this = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Amap.Api.Maps2d.Model.CameraPosition p0 = global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.Model.CameraPosition> (native_p0, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.InvokeCamera(p0)); return(__ret); }
public virtual unsafe global::Com.Amap.Api.Maps2d.AMapOptions InvokeCamera(global::Com.Amap.Api.Maps2d.Model.CameraPosition p0) { const string __id = "camera.(Lcom/amap/api/maps2d/model/CameraPosition;)Lcom/amap/api/maps2d/AMapOptions;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.AMapOptions> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
public unsafe Builder(global::Com.Amap.Api.Maps2d.Model.CameraPosition p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "(Lcom/amap/api/maps2d/model/CameraPosition;)V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) { return; } try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __r = _members.InstanceMethods.StartCreateInstance(__id, ((object)this).GetType(), __args); SetHandle(__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance(__id, this, __args); } finally { } }
public static unsafe global::Com.Amap.Api.Maps2d.CameraUpdate NewCameraPosition(global::Com.Amap.Api.Maps2d.Model.CameraPosition p0) { const string __id = "newCameraPosition.(Lcom/amap/api/maps2d/model/CameraPosition;)Lcom/amap/api/maps2d/CameraUpdate;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(global::Java.Lang.Object.GetObject <global::Com.Amap.Api.Maps2d.CameraUpdate> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }