using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Hdl.Hdllinphonesdk.Utils { // Metadata.xml XPath class reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']" [global::Android.Runtime.Register ("com/hdl/hdllinphonesdk/utils/HDLLog", DoNotGenerateAcw=true)] public partial class HDLLog : global::Java.Lang.Object { static readonly JniPeerMembers _members = new XAPeerMembers ("com/hdl/hdllinphonesdk/utils/HDLLog", typeof (HDLLog)); 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 HDLLog (IntPtr javaReference, JniHandleOwnership transfer) : base (javaReference, transfer) { } // Metadata.xml XPath constructor reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']/constructor[@name='HDLLog' and count(parameter)=0]" [Register (".ctor", "()V", "")] public unsafe HDLLog () : 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 { } } public static unsafe bool EnableLog { // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']/method[@name='isEnableLog' and count(parameter)=0]" [Register ("isEnableLog", "()Z", "")] get { const string __id = "isEnableLog.()Z"; try { var __rm = _members.StaticMethods.InvokeBooleanMethod (__id, null); return __rm; } finally { } } // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']/method[@name='setEnableLog' and count(parameter)=1 and parameter[1][@type='boolean']]" [Register ("setEnableLog", "(Z)V", "")] set { const string __id = "setEnableLog.(Z)V"; try { JniArgumentValue* __args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue (value); _members.StaticMethods.InvokeVoidMethod (__id, __args); } finally { } } } // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']/method[@name='E' and count(parameter)=1 and parameter[1][@type='java.lang.String']]" [Register ("E", "(Ljava/lang/String;)V", "")] public static unsafe void E (string message) { const string __id = "E.(Ljava/lang/String;)V"; IntPtr native_message = JNIEnv.NewString (message); try { JniArgumentValue* __args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue (native_message); _members.StaticMethods.InvokeVoidMethod (__id, __args); } finally { JNIEnv.DeleteLocalRef (native_message); } } // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']/method[@name='I' and count(parameter)=1 and parameter[1][@type='java.lang.String']]" [Register ("I", "(Ljava/lang/String;)V", "")] public static unsafe void I (string message) { const string __id = "I.(Ljava/lang/String;)V"; IntPtr native_message = JNIEnv.NewString (message); try { JniArgumentValue* __args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue (native_message); _members.StaticMethods.InvokeVoidMethod (__id, __args); } finally { JNIEnv.DeleteLocalRef (native_message); } } // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']/method[@name='e' and count(parameter)=2 and parameter[1][@type='java.lang.String'] and parameter[2][@type='java.lang.String']]" [Register ("e", "(Ljava/lang/String;Ljava/lang/String;)V", "")] public static unsafe void E (string tag, string msg) { const string __id = "e.(Ljava/lang/String;Ljava/lang/String;)V"; IntPtr native_tag = JNIEnv.NewString (tag); IntPtr native_msg = JNIEnv.NewString (msg); try { JniArgumentValue* __args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue (native_tag); __args [1] = new JniArgumentValue (native_msg); _members.StaticMethods.InvokeVoidMethod (__id, __args); } finally { JNIEnv.DeleteLocalRef (native_tag); JNIEnv.DeleteLocalRef (native_msg); } } // Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk.utils']/class[@name='HDLLog']/method[@name='i' and count(parameter)=2 and parameter[1][@type='java.lang.String'] and parameter[2][@type='java.lang.String']]" [Register ("i", "(Ljava/lang/String;Ljava/lang/String;)V", "")] public static unsafe void I (string tag, string msg) { const string __id = "i.(Ljava/lang/String;Ljava/lang/String;)V"; IntPtr native_tag = JNIEnv.NewString (tag); IntPtr native_msg = JNIEnv.NewString (msg); try { JniArgumentValue* __args = stackalloc JniArgumentValue [2]; __args [0] = new JniArgumentValue (native_tag); __args [1] = new JniArgumentValue (native_msg); _members.StaticMethods.InvokeVoidMethod (__id, __args); } finally { JNIEnv.DeleteLocalRef (native_tag); JNIEnv.DeleteLocalRef (native_msg); } } } }