wxr
2024-07-16 548fb8aa23fe31401ba3dae823d31f9a73cc101f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
#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='HDLLinphoneIntercomActivity']"
    [global::Android.Runtime.Register ("com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity", DoNotGenerateAcw=true)]
    public partial class HDLLinphoneIntercomActivity : global::Com.Hdl.Hdllinphonesdk.Activity.LPCheckPermissionsActivity, global::Android.Views.View.IOnClickListener {
        static readonly JniPeerMembers _members = new XAPeerMembers ("com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity", typeof (HDLLinphoneIntercomActivity));
 
        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 HDLLinphoneIntercomActivity (IntPtr javaReference, JniHandleOwnership transfer) : base (javaReference, transfer)
        {
        }
 
        // Metadata.xml XPath constructor reference: path="/api/package[@name='com.hdl.hdllinphonesdk.activity']/class[@name='HDLLinphoneIntercomActivity']/constructor[@name='HDLLinphoneIntercomActivity' and count(parameter)=0]"
        [Register (".ctor", "()V", "")]
        public unsafe HDLLinphoneIntercomActivity () : 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<global::Com.Hdl.Hdllinphonesdk.Activity.HDLLinphoneIntercomActivity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            var view = global::Java.Lang.Object.GetObject<global::Android.Views.View> (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='HDLLinphoneIntercomActivity']/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<global::Com.Hdl.Hdllinphonesdk.Activity.HDLLinphoneIntercomActivity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            var view = global::Java.Lang.Object.GetObject<global::Android.Views.View> (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='HDLLinphoneIntercomActivity']/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);
            }
        }
 
    }
}