public static global::Com.TA.Utdid2.Device.Device GetDevice(global::Android.Content.Context p0) { if (id_getDevice_Landroid_content_Context_ == IntPtr.Zero) { id_getDevice_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "getDevice", "(Landroid/content/Context;)Lcom/ta/utdid2/device/Device;"); } global::Com.TA.Utdid2.Device.Device __ret = global::Java.Lang.Object.GetObject <global::Com.TA.Utdid2.Device.Device> (JNIEnv.CallStaticObjectMethod(class_ref, id_getDevice_Landroid_content_Context_, new JValue(p0)), JniHandleOwnership.TransferLocalRef); return(__ret); }
static IntPtr n_GetDeviceId(IntPtr jnienv, IntPtr native__this) { global::Com.TA.Utdid2.Device.Device __this = global::Java.Lang.Object.GetObject <global::Com.TA.Utdid2.Device.Device> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.DeviceId)); }