//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ #nullable restore using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Hdl.Hdllinphonesdk.Activity { // Metadata.xml XPath class reference: path="/api/package[@name='com.hdl.hdllinphonesdk.activity']/class[@name='HDLLinphoneReverseCallActivity']" [global::Android.Runtime.Register ("com/hdl/hdllinphonesdk/activity/HDLLinphoneReverseCallActivity", DoNotGenerateAcw=true)] public partial class HDLLinphoneReverseCallActivity : global::Com.Hdl.Hdllinphonesdk.Activity.LPCheckPermissionsActivity, global::Android.Views.View.IOnClickListener { static readonly JniPeerMembers _members = new XAPeerMembers ("com/hdl/hdllinphonesdk/activity/HDLLinphoneReverseCallActivity", typeof (HDLLinphoneReverseCallActivity)); internal static new IntPtr class_ref { get { return _members.JniPeerType.PeerReference.Handle; } } [global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)] [global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)] public override global::Java.Interop.JniPeerMembers JniPeerMembers { get { return _members; } } [global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)] [global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)] protected override IntPtr ThresholdClass { get { return _members.JniPeerType.PeerReference.Handle; } } [global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)] [global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)] protected override global::System.Type ThresholdType { get { return _members.ManagedPeerType; } } protected HDLLinphoneReverseCallActivity (IntPtr javaReference, JniHandleOwnership transfer) : base (javaReference, transfer) { } // Metadata.xml XPath constructor reference: path="/api/package[@name='com.hdl.hdllinphonesdk.activity']/class[@name='HDLLinphoneReverseCallActivity']/constructor[@name='HDLLinphoneReverseCallActivity' and count(parameter)=0]" [Register (".ctor", "()V", "")] public unsafe HDLLinphoneReverseCallActivity () : base (IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { const string __id = "()V"; if (((global::Java.Lang.Object) this).Handle != IntPtr.Zero) return; try { var __r = _members.InstanceMethods.StartCreateInstance (__id, ((object) this).GetType (), null); SetHandle (__r.Handle, JniHandleOwnership.TransferLocalRef); _members.InstanceMethods.FinishCreateInstance (__id, this, null); } finally { } } static Delegate cb_onClick_Landroid_view_View_; #pragma warning disable 0169 static Delegate GetOnClick_Landroid_view_View_Handler () { if (cb_onClick_Landroid_view_View_ == null) cb_onClick_Landroid_view_View_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPL_V (n_OnClick_Landroid_view_View_)); return cb_onClick_Landroid_view_View_; } static void n_OnClick_Landroid_view_View_ (IntPtr jnienv, IntPtr native__this, IntPtr native_view) { var __this = global::Java.Lang.Object.GetObject (jnienv, native__this, JniHandleOwnership.DoNotTransfer); var view = global::Java.Lang.Object.GetObject (native_view, JniHandleOwnership.DoNotTransfer); __this.OnClick (view); } #pragma warning restore 0169 // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.activity']/class[@name='HDLLinphoneReverseCallActivity']/method[@name='onClick' and count(parameter)=1 and parameter[1][@type='android.view.View']]" [Register ("onClick", "(Landroid/view/View;)V", "GetOnClick_Landroid_view_View_Handler")] public virtual unsafe void OnClick (global::Android.Views.View view) { const string __id = "onClick.(Landroid/view/View;)V"; try { JniArgumentValue* __args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue ((view == null) ? IntPtr.Zero : ((global::Java.Lang.Object) view).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args); } finally { global::System.GC.KeepAlive (view); } } static Delegate cb_setWidthHeightWithRatio_Landroid_view_View_II; #pragma warning disable 0169 static Delegate GetSetWidthHeightWithRatio_Landroid_view_View_IIHandler () { if (cb_setWidthHeightWithRatio_Landroid_view_View_II == null) cb_setWidthHeightWithRatio_Landroid_view_View_II = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLII_V (n_SetWidthHeightWithRatio_Landroid_view_View_II)); return cb_setWidthHeightWithRatio_Landroid_view_View_II; } static void n_SetWidthHeightWithRatio_Landroid_view_View_II (IntPtr jnienv, IntPtr native__this, IntPtr native_view, int widthRatio, int heightRatio) { var __this = global::Java.Lang.Object.GetObject (jnienv, native__this, JniHandleOwnership.DoNotTransfer); var view = global::Java.Lang.Object.GetObject (native_view, JniHandleOwnership.DoNotTransfer); __this.SetWidthHeightWithRatio (view, widthRatio, heightRatio); } #pragma warning restore 0169 // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.activity']/class[@name='HDLLinphoneReverseCallActivity']/method[@name='setWidthHeightWithRatio' and count(parameter)=3 and parameter[1][@type='android.view.View'] and parameter[2][@type='int'] and parameter[3][@type='int']]" [Register ("setWidthHeightWithRatio", "(Landroid/view/View;II)V", "GetSetWidthHeightWithRatio_Landroid_view_View_IIHandler")] public virtual unsafe void SetWidthHeightWithRatio (global::Android.Views.View view, int widthRatio, int heightRatio) { const string __id = "setWidthHeightWithRatio.(Landroid/view/View;II)V"; try { JniArgumentValue* __args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue ((view == null) ? IntPtr.Zero : ((global::Java.Lang.Object) view).Handle); __args [1] = new JniArgumentValue (widthRatio); __args [2] = new JniArgumentValue (heightRatio); _members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args); } finally { global::System.GC.KeepAlive (view); } } } }