wxr
2023-07-31 27cb19320ed4ac5552c17a263d0887a7cb88edc9
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
using System;
using System.Collections.Generic;
using Android.Runtime;
using Java.Interop;
 
namespace Com.Tencent.Tinker.Lib.Service {
 
    // Metadata.xml XPath class reference: path="/api/package[@name='com.tencent.tinker.lib.service']/class[@name='PatchResult']"
    [global::Android.Runtime.Register ("com/tencent/tinker/lib/service/PatchResult", DoNotGenerateAcw=true)]
    public partial class PatchResult : global::Java.Lang.Object, global::Java.IO.ISerializable {
 
        // Metadata.xml XPath field reference: path="/api/package[@name='com.tencent.tinker.lib.service']/class[@name='PatchResult']/field[@name='costTime']"
        [Register ("costTime")]
        public long CostTime {
            get {
                const string __id = "costTime.J";
 
                var __v = _members.InstanceFields.GetInt64Value (__id, this);
                return __v;
            }
            set {
                const string __id = "costTime.J";
 
                try {
                    _members.InstanceFields.SetValue (__id, this, value);
                } finally {
                }
            }
        }
 
 
        // Metadata.xml XPath field reference: path="/api/package[@name='com.tencent.tinker.lib.service']/class[@name='PatchResult']/field[@name='e']"
        [Register ("e")]
        public global::Java.Lang.Throwable E {
            get {
                const string __id = "e.Ljava/lang/Throwable;";
 
                var __v = _members.InstanceFields.GetObjectValue (__id, this);
                return global::Java.Lang.Object.GetObject<global::Java.Lang.Throwable> (__v.Handle, JniHandleOwnership.TransferLocalRef);
            }
            set {
                const string __id = "e.Ljava/lang/Throwable;";
 
                IntPtr native_value = global::Android.Runtime.JNIEnv.ToLocalJniHandle (value);
                try {
                    _members.InstanceFields.SetValue (__id, this, new JniObjectReference (native_value));
                } finally {
                    global::Android.Runtime.JNIEnv.DeleteLocalRef (native_value);
                }
            }
        }
 
 
        // Metadata.xml XPath field reference: path="/api/package[@name='com.tencent.tinker.lib.service']/class[@name='PatchResult']/field[@name='isSuccess']"
        [Register ("isSuccess")]
        public bool IsSuccess {
            get {
                const string __id = "isSuccess.Z";
 
                var __v = _members.InstanceFields.GetBooleanValue (__id, this);
                return __v;
            }
            set {
                const string __id = "isSuccess.Z";
 
                try {
                    _members.InstanceFields.SetValue (__id, this, value);
                } finally {
                }
            }
        }
 
 
        // Metadata.xml XPath field reference: path="/api/package[@name='com.tencent.tinker.lib.service']/class[@name='PatchResult']/field[@name='patchVersion']"
        [Register ("patchVersion")]
        public string PatchVersion {
            get {
                const string __id = "patchVersion.Ljava/lang/String;";
 
                var __v = _members.InstanceFields.GetObjectValue (__id, this);
                return JNIEnv.GetString (__v.Handle, JniHandleOwnership.TransferLocalRef);
            }
            set {
                const string __id = "patchVersion.Ljava/lang/String;";
 
                IntPtr native_value = JNIEnv.NewString (value);
                try {
                    _members.InstanceFields.SetValue (__id, this, new JniObjectReference (native_value));
                } finally {
                    JNIEnv.DeleteLocalRef (native_value);
                }
            }
        }
 
 
        // Metadata.xml XPath field reference: path="/api/package[@name='com.tencent.tinker.lib.service']/class[@name='PatchResult']/field[@name='rawPatchFilePath']"
        [Register ("rawPatchFilePath")]
        public string RawPatchFilePath {
            get {
                const string __id = "rawPatchFilePath.Ljava/lang/String;";
 
                var __v = _members.InstanceFields.GetObjectValue (__id, this);
                return JNIEnv.GetString (__v.Handle, JniHandleOwnership.TransferLocalRef);
            }
            set {
                const string __id = "rawPatchFilePath.Ljava/lang/String;";
 
                IntPtr native_value = JNIEnv.NewString (value);
                try {
                    _members.InstanceFields.SetValue (__id, this, new JniObjectReference (native_value));
                } finally {
                    JNIEnv.DeleteLocalRef (native_value);
                }
            }
        }
 
        static readonly JniPeerMembers _members = new XAPeerMembers ("com/tencent/tinker/lib/service/PatchResult", typeof (PatchResult));
 
        internal static 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 PatchResult (IntPtr javaReference, JniHandleOwnership transfer) : base (javaReference, transfer)
        {
        }
 
        // Metadata.xml XPath constructor reference: path="/api/package[@name='com.tencent.tinker.lib.service']/class[@name='PatchResult']/constructor[@name='PatchResult' and count(parameter)=0]"
        [Register (".ctor", "()V", "")]
        public unsafe PatchResult () : 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 {
            }
        }
 
    }
}