public static unsafe global::Com.Algorithmia.AlgorithmiaClient Client(int p0)
 {
     if (id_client_I == IntPtr.Zero)
     {
         id_client_I = JNIEnv.GetStaticMethodID(class_ref, "client", "(I)Lcom/algorithmia/AlgorithmiaClient;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         return(global::Java.Lang.Object.GetObject <global::Com.Algorithmia.AlgorithmiaClient> (JNIEnv.CallStaticObjectMethod(class_ref, id_client_I, __args), JniHandleOwnership.TransferLocalRef));
     } finally {
     }
 }
 public static unsafe global::GoogleGson.JsonElement ParseResponseJson(global::Com.Algorithmia.Client.HttpResponse p0)
 {
     if (id_parseResponseJson_Lcom_algorithmia_client_HttpResponse_ == IntPtr.Zero)
     {
         id_parseResponseJson_Lcom_algorithmia_client_HttpResponse_ = JNIEnv.GetStaticMethodID(class_ref, "parseResponseJson", "(Lcom/algorithmia/client/HttpResponse;)Lcom/google/gson/JsonElement;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::GoogleGson.JsonElement __ret = global::Java.Lang.Object.GetObject <global::GoogleGson.JsonElement> (JNIEnv.CallStaticObjectMethod(class_ref, id_parseResponseJson_Lcom_algorithmia_client_HttpResponse_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 3
0
 public static global::Org.Osmdroid.Util.GeoPoint PixelXYToLatLong(int pixelX, int pixelY, int levelOfDetail, global::Org.Osmdroid.Util.GeoPoint reuse)
 {
     if (id_PixelXYToLatLong_IIILorg_osmdroid_util_GeoPoint_ == IntPtr.Zero)
     {
         id_PixelXYToLatLong_IIILorg_osmdroid_util_GeoPoint_ = JNIEnv.GetStaticMethodID(class_ref, "PixelXYToLatLong", "(IIILorg/osmdroid/util/GeoPoint;)Lorg/osmdroid/util/GeoPoint;");
     }
     global::Org.Osmdroid.Util.GeoPoint __ret = global::Java.Lang.Object.GetObject <global::Org.Osmdroid.Util.GeoPoint> (JNIEnv.CallStaticObjectMethod(class_ref, id_PixelXYToLatLong_IIILorg_osmdroid_util_GeoPoint_, new JValue(pixelX), new JValue(pixelY), new JValue(levelOfDetail), new JValue(reuse)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
        public static unsafe global::Org.Jboss.Aerogear.Android.Unifiedpush.IPushRegistrar GetRegistrar(string name)
        {
            if (id_getRegistrar_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_getRegistrar_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "getRegistrar", "(Ljava/lang/String;)Lorg/jboss/aerogear/android/unifiedpush/PushRegistrar;");
            }
            IntPtr native_name = JNIEnv.NewString(name);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_name);
                global::Org.Jboss.Aerogear.Android.Unifiedpush.IPushRegistrar __ret = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Unifiedpush.IPushRegistrar> (JNIEnv.CallStaticObjectMethod(class_ref, id_getRegistrar_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_name);
            }
        }
Esempio n. 5
0
 protected static global::Javax.Jmdns.INetworkTopologyDiscovery NewNetworkTopologyDiscovery()
 {
     if (id_newNetworkTopologyDiscovery == IntPtr.Zero)
     {
         id_newNetworkTopologyDiscovery = JNIEnv.GetStaticMethodID(class_ref, "newNetworkTopologyDiscovery", "()Ljavax/jmdns/NetworkTopologyDiscovery;");
     }
     return(Java.Lang.Object.GetObject <global::Javax.Jmdns.INetworkTopologyDiscovery> (JNIEnv.CallStaticObjectMethod(class_ref, id_newNetworkTopologyDiscovery), JniHandleOwnership.TransferLocalRef));
 }
Esempio n. 6
0
 public static unsafe global::Javax.Crypto.Spec.SecretKeySpec 鷭()
 {
     if (id_鷭 == IntPtr.Zero)
     {
         id_鷭 = JNIEnv.GetStaticMethodID(class_ref, "鷭", "()Ljavax/crypto/spec/SecretKeySpec;");
     }
     try {
         return(global::Java.Lang.Object.GetObject <global::Javax.Crypto.Spec.SecretKeySpec> (JNIEnv.CallStaticObjectMethod(class_ref, id_鷭), JniHandleOwnership.TransferLocalRef));
     } finally {
     }
 }
        public static unsafe global::Com.Baidu.Mapapi.Search.Core.RouteNode TitleAndLocation(string p0, global::Com.Baidu.Mapapi.Model.LatLng p1)
        {
            if (id_titleAndLocation_Ljava_lang_String_Lcom_baidu_mapapi_model_LatLng_ == IntPtr.Zero)
            {
                id_titleAndLocation_Ljava_lang_String_Lcom_baidu_mapapi_model_LatLng_ = JNIEnv.GetStaticMethodID(class_ref, "titleAndLocation", "(Ljava/lang/String;Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/search/core/RouteNode;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                global::Com.Baidu.Mapapi.Search.Core.RouteNode __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (JNIEnv.CallStaticObjectMethod(class_ref, id_titleAndLocation_Ljava_lang_String_Lcom_baidu_mapapi_model_LatLng_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Esempio n. 8
0
 public static unsafe global::Java.Nio.ByteBuffer Write(global::Org.Jcodec.Codecs.Aac.ADTSParser.Header p0, global::Java.Nio.ByteBuffer p1, int p2)
 {
     if (id_write_Lorg_jcodec_codecs_aac_ADTSParser_Header_Ljava_nio_ByteBuffer_I == IntPtr.Zero)
     {
         id_write_Lorg_jcodec_codecs_aac_ADTSParser_Header_Ljava_nio_ByteBuffer_I = JNIEnv.GetStaticMethodID(class_ref, "write", "(Lorg/jcodec/codecs/aac/ADTSParser$Header;Ljava/nio/ByteBuffer;I)Ljava/nio/ByteBuffer;");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         global::Java.Nio.ByteBuffer __ret = global::Java.Lang.Object.GetObject <global::Java.Nio.ByteBuffer> (JNIEnv.CallStaticObjectMethod(class_ref, id_write_Lorg_jcodec_codecs_aac_ADTSParser_Header_Ljava_nio_ByteBuffer_I, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 9
0
            public static global::Osmdroid.Api.Marker.Anchor ValueOf(string name)
            {
                if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lorg/osmdroid/api/Marker$Anchor;");
                }
                IntPtr native_name = JNIEnv.NewString(name);

                global::Osmdroid.Api.Marker.Anchor __ret = global::Java.Lang.Object.GetObject <global::Osmdroid.Api.Marker.Anchor> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, new JValue(native_name)), JniHandleOwnership.TransferLocalRef);
                JNIEnv.DeleteLocalRef(native_name);
                return(__ret);
            }
 public static unsafe global::Org.Jcodec.Common.Model.ChannelLabel[] Values()
 {
     if (id_values == IntPtr.Zero)
     {
         id_values = JNIEnv.GetStaticMethodID(class_ref, "values", "()[Lorg/jcodec/common/model/ChannelLabel;");
     }
     try {
         return((global::Org.Jcodec.Common.Model.ChannelLabel[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_values), JniHandleOwnership.TransferLocalRef, typeof(global::Org.Jcodec.Common.Model.ChannelLabel)));
     } finally {
     }
 }
Esempio n. 11
0
 public static unsafe global::Org.Jcodec.Codecs.Aac.ADTSParser.Header Read(global::Java.Nio.ByteBuffer p0)
 {
     if (id_read_Ljava_nio_ByteBuffer_ == IntPtr.Zero)
     {
         id_read_Ljava_nio_ByteBuffer_ = JNIEnv.GetStaticMethodID(class_ref, "read", "(Ljava/nio/ByteBuffer;)Lorg/jcodec/codecs/aac/ADTSParser$Header;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Org.Jcodec.Codecs.Aac.ADTSParser.Header __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Codecs.Aac.ADTSParser.Header> (JNIEnv.CallStaticObjectMethod(class_ref, id_read_Ljava_nio_ByteBuffer_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
        public static unsafe global::Org.Jcodec.Common.Model.ChannelLabel ValueOf(string p0)
        {
            if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lorg/jcodec/common/model/ChannelLabel;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);
                global::Org.Jcodec.Common.Model.ChannelLabel __ret = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Common.Model.ChannelLabel> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Esempio n. 13
0
        public static global::Com.Adobe.Mobile.MediaSettings SettingsWith(string p0, double p1, string p2, string p3)
        {
            if (id_settingsWith_Ljava_lang_String_DLjava_lang_String_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_settingsWith_Ljava_lang_String_DLjava_lang_String_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "settingsWith", "(Ljava/lang/String;DLjava/lang/String;Ljava/lang/String;)Lcom/adobe/mobile/MediaSettings;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);
            IntPtr native_p2 = JNIEnv.NewString(p2);
            IntPtr native_p3 = JNIEnv.NewString(p3);

            global::Com.Adobe.Mobile.MediaSettings __ret = global::Java.Lang.Object.GetObject <global::Com.Adobe.Mobile.MediaSettings> (JNIEnv.CallStaticObjectMethod(class_ref, id_settingsWith_Ljava_lang_String_DLjava_lang_String_Ljava_lang_String_, new JValue(native_p0), new JValue(p1), new JValue(native_p2), new JValue(native_p3)), JniHandleOwnership.TransferLocalRef);
            JNIEnv.DeleteLocalRef(native_p0);
            JNIEnv.DeleteLocalRef(native_p2);
            JNIEnv.DeleteLocalRef(native_p3);
            return(__ret);
        }
        public static unsafe global::Com.Algorithmia.AlgorithmiaClient Client(string p0, int p1)
        {
            if (id_client_Ljava_lang_String_I == IntPtr.Zero)
            {
                id_client_Ljava_lang_String_I = JNIEnv.GetStaticMethodID(class_ref, "client", "(Ljava/lang/String;I)Lcom/algorithmia/AlgorithmiaClient;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                global::Com.Algorithmia.AlgorithmiaClient __ret = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.AlgorithmiaClient> (JNIEnv.CallStaticObjectMethod(class_ref, id_client_Ljava_lang_String_I, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Esempio n. 15
0
 public static unsafe global::Org.Neuroph.Nnet.CompetitiveNetwork CreateCompetitiveNetwork(int p0, int p1)
 {
     if (id_createCompetitiveNetwork_II == IntPtr.Zero)
     {
         id_createCompetitiveNetwork_II = JNIEnv.GetStaticMethodID(class_ref, "createCompetitiveNetwork", "(II)Lorg/neuroph/nnet/CompetitiveNetwork;");
     }
     try {
         JValue *__args = stackalloc JValue [2];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         return(global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.CompetitiveNetwork> (JNIEnv.CallStaticObjectMethod(class_ref, id_createCompetitiveNetwork_II, __args), JniHandleOwnership.TransferLocalRef));
     } finally {
     }
 }
        public static unsafe global::Com.Instabug.Library.IBGInvocationMode ValueOf(string p0)
        {
            if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero)
            {
                id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/instabug/library/IBGInvocationMode;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [1];
                __args [0] = new JValue(native_p0);
                global::Com.Instabug.Library.IBGInvocationMode __ret = global::Java.Lang.Object.GetObject <global::Com.Instabug.Library.IBGInvocationMode> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
 public static global::Android.Net.ConnectivityManager GetConnManager(global::Android.Content.Context p0)
 {
     if (id_getConnManager_Landroid_content_Context_ == IntPtr.Zero)
     {
         id_getConnManager_Landroid_content_Context_ = JNIEnv.GetStaticMethodID(class_ref, "getConnManager", "(Landroid/content/Context;)Landroid/net/ConnectivityManager;");
     }
     global::Android.Net.ConnectivityManager __ret = global::Java.Lang.Object.GetObject <global::Android.Net.ConnectivityManager> (JNIEnv.CallStaticObjectMethod(class_ref, id_getConnManager_Landroid_content_Context_, new JValue(p0)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
 public static unsafe global::Com.Instabug.Library.IBGInvocationMode[] Values()
 {
     if (id_values == IntPtr.Zero)
     {
         id_values = JNIEnv.GetStaticMethodID(class_ref, "values", "()[Lcom/instabug/library/IBGInvocationMode;");
     }
     try {
         return((global::Com.Instabug.Library.IBGInvocationMode[])JNIEnv.GetArray(JNIEnv.CallStaticObjectMethod(class_ref, id_values), JniHandleOwnership.TransferLocalRef, typeof(global::Com.Instabug.Library.IBGInvocationMode)));
     } finally {
     }
 }
 public static unsafe global::Com.Baidu.Mapapi.Search.Core.RouteNode InvokeLocation(global::Com.Baidu.Mapapi.Model.LatLng p0)
 {
     if (id_location_Lcom_baidu_mapapi_model_LatLng_ == IntPtr.Zero)
     {
         id_location_Lcom_baidu_mapapi_model_LatLng_ = JNIEnv.GetStaticMethodID(class_ref, "location", "(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/search/core/RouteNode;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Baidu.Mapapi.Search.Core.RouteNode __ret = global::Java.Lang.Object.GetObject <global::Com.Baidu.Mapapi.Search.Core.RouteNode> (JNIEnv.CallStaticObjectMethod(class_ref, id_location_Lcom_baidu_mapapi_model_LatLng_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 20
0
        public static unsafe global::System.Collections.Generic.ICollection <object> Union(global::System.Collections.Generic.ICollection <object> p0, global::System.Collections.Generic.ICollection <object> p1)
        {
            if (id_union_Ljava_util_Set_Ljava_util_Set_ == IntPtr.Zero)
            {
                id_union_Ljava_util_Set_Ljava_util_Set_ = JNIEnv.GetStaticMethodID(class_ref, "union", "(Ljava/util/Set;Ljava/util/Set;)Ljava/util/Set;");
            }
            IntPtr native_p0 = global::Android.Runtime.JavaSet <object> .ToLocalJniHandle(p0);

            IntPtr native_p1 = global::Android.Runtime.JavaSet <object> .ToLocalJniHandle(p1);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(native_p1);
                global::System.Collections.Generic.ICollection <object> __ret = global::Android.Runtime.JavaSet <object> .FromJniHandle(JNIEnv.CallStaticObjectMethod(class_ref, id_union_Ljava_util_Set_Ljava_util_Set_, __args), JniHandleOwnership.TransferLocalRef);

                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
                JNIEnv.DeleteLocalRef(native_p1);
            }
        }
        public static unsafe global::Java.Lang.Object Config(string name, global::Java.Lang.Class pushConfigurationClass)
        {
            if (id_config_Ljava_lang_String_Ljava_lang_Class_ == IntPtr.Zero)
            {
                id_config_Ljava_lang_String_Ljava_lang_Class_ = JNIEnv.GetStaticMethodID(class_ref, "config", "(Ljava/lang/String;Ljava/lang/Class;)Lorg/jboss/aerogear/android/unifiedpush/PushConfiguration;");
            }
            IntPtr native_name = JNIEnv.NewString(name);

            try {
                JValue *__args = stackalloc JValue [2];
                __args [0] = new JValue(native_name);
                __args [1] = new JValue(pushConfigurationClass);
                global::Java.Lang.Object __ret = (Java.Lang.Object)global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (JNIEnv.CallStaticObjectMethod(class_ref, id_config_Ljava_lang_String_Ljava_lang_Class_, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_name);
            }
        }
Esempio n. 22
0
        public static unsafe global::Org.Neuroph.Nnet.MultiLayerPerceptron CreateMLPerceptron(string p0, global::Org.Neuroph.Util.TransferFunctionType p1, global::Java.Lang.Class p2, bool p3, bool p4)
        {
            if (id_createMLPerceptron_Ljava_lang_String_Lorg_neuroph_util_TransferFunctionType_Ljava_lang_Class_ZZ == IntPtr.Zero)
            {
                id_createMLPerceptron_Ljava_lang_String_Lorg_neuroph_util_TransferFunctionType_Ljava_lang_Class_ZZ = JNIEnv.GetStaticMethodID(class_ref, "createMLPerceptron", "(Ljava/lang/String;Lorg/neuroph/util/TransferFunctionType;Ljava/lang/Class;ZZ)Lorg/neuroph/nnet/MultiLayerPerceptron;");
            }
            IntPtr native_p0 = JNIEnv.NewString(p0);

            try {
                JValue *__args = stackalloc JValue [5];
                __args [0] = new JValue(native_p0);
                __args [1] = new JValue(p1);
                __args [2] = new JValue(p2);
                __args [3] = new JValue(p3);
                __args [4] = new JValue(p4);
                global::Org.Neuroph.Nnet.MultiLayerPerceptron __ret = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.MultiLayerPerceptron> (JNIEnv.CallStaticObjectMethod(class_ref, id_createMLPerceptron_Ljava_lang_String_Lorg_neuroph_util_TransferFunctionType_Ljava_lang_Class_ZZ, __args), JniHandleOwnership.TransferLocalRef);
                return(__ret);
            } finally {
                JNIEnv.DeleteLocalRef(native_p0);
            }
        }
Esempio n. 23
0
 public static global::Javax.Jmdns.NetworkTopologyDiscoveryFactory.IClassDelegate ClassDelegate()
 {
     if (id_classDelegate == IntPtr.Zero)
     {
         id_classDelegate = JNIEnv.GetStaticMethodID(class_ref, "classDelegate", "()Ljavax/jmdns/NetworkTopologyDiscovery$Factory$ClassDelegate;");
     }
     return(Java.Lang.Object.GetObject <global::Javax.Jmdns.NetworkTopologyDiscoveryFactory.IClassDelegate> (JNIEnv.CallStaticObjectMethod(class_ref, id_classDelegate), JniHandleOwnership.TransferLocalRef));
 }
Esempio n. 24
0
 public static unsafe global::Org.Neuroph.Nnet.Perceptron CreatePerceptron(int p0, int p1, global::Org.Neuroph.Util.TransferFunctionType p2, global::Java.Lang.Class p3)
 {
     if (id_createPerceptron_IILorg_neuroph_util_TransferFunctionType_Ljava_lang_Class_ == IntPtr.Zero)
     {
         id_createPerceptron_IILorg_neuroph_util_TransferFunctionType_Ljava_lang_Class_ = JNIEnv.GetStaticMethodID(class_ref, "createPerceptron", "(IILorg/neuroph/util/TransferFunctionType;Ljava/lang/Class;)Lorg/neuroph/nnet/Perceptron;");
     }
     try {
         JValue *__args = stackalloc JValue [4];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         __args [3] = new JValue(p3);
         global::Org.Neuroph.Nnet.Perceptron __ret = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.Perceptron> (JNIEnv.CallStaticObjectMethod(class_ref, id_createPerceptron_IILorg_neuroph_util_TransferFunctionType_Ljava_lang_Class_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
 public static unsafe global::Com.Algorithmia.Algo.AlgoResponse JsonToAlgoResponse(global::GoogleGson.JsonElement p0)
 {
     if (id_jsonToAlgoResponse_Lcom_google_gson_JsonElement_ == IntPtr.Zero)
     {
         id_jsonToAlgoResponse_Lcom_google_gson_JsonElement_ = JNIEnv.GetStaticMethodID(class_ref, "jsonToAlgoResponse", "(Lcom/google/gson/JsonElement;)Lcom/algorithmia/algo/AlgoResponse;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         global::Com.Algorithmia.Algo.AlgoResponse __ret = global::Java.Lang.Object.GetObject <global::Com.Algorithmia.Algo.AlgoResponse> (JNIEnv.CallStaticObjectMethod(class_ref, id_jsonToAlgoResponse_Lcom_google_gson_JsonElement_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 26
0
 public static unsafe global::Org.Neuroph.Nnet.UnsupervisedHebbianNetwork CreateUnsupervisedHebbian(int p0, int p1, global::Org.Neuroph.Util.TransferFunctionType p2)
 {
     if (id_createUnsupervisedHebbian_IILorg_neuroph_util_TransferFunctionType_ == IntPtr.Zero)
     {
         id_createUnsupervisedHebbian_IILorg_neuroph_util_TransferFunctionType_ = JNIEnv.GetStaticMethodID(class_ref, "createUnsupervisedHebbian", "(IILorg/neuroph/util/TransferFunctionType;)Lorg/neuroph/nnet/UnsupervisedHebbianNetwork;");
     }
     try {
         JValue *__args = stackalloc JValue [3];
         __args [0] = new JValue(p0);
         __args [1] = new JValue(p1);
         __args [2] = new JValue(p2);
         global::Org.Neuroph.Nnet.UnsupervisedHebbianNetwork __ret = global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.UnsupervisedHebbianNetwork> (JNIEnv.CallStaticObjectMethod(class_ref, id_createUnsupervisedHebbian_IILorg_neuroph_util_TransferFunctionType_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
Esempio n. 27
0
 public static global::Android.Graphics.Point LatLongToPixelXY(double latitude, double longitude, int levelOfDetail, global::Android.Graphics.Point reuse)
 {
     if (id_LatLongToPixelXY_DDILandroid_graphics_Point_ == IntPtr.Zero)
     {
         id_LatLongToPixelXY_DDILandroid_graphics_Point_ = JNIEnv.GetStaticMethodID(class_ref, "LatLongToPixelXY", "(DDILandroid/graphics/Point;)Landroid/graphics/Point;");
     }
     global::Android.Graphics.Point __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Point> (JNIEnv.CallStaticObjectMethod(class_ref, id_LatLongToPixelXY_DDILandroid_graphics_Point_, new JValue(latitude), new JValue(longitude), new JValue(levelOfDetail), new JValue(reuse)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
Esempio n. 28
0
 public static unsafe global::Org.Neuroph.Nnet.Adaline CreateAdaline(int p0)
 {
     if (id_createAdaline_I == IntPtr.Zero)
     {
         id_createAdaline_I = JNIEnv.GetStaticMethodID(class_ref, "createAdaline", "(I)Lorg/neuroph/nnet/Adaline;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(p0);
         return(global::Java.Lang.Object.GetObject <global::Org.Neuroph.Nnet.Adaline> (JNIEnv.CallStaticObjectMethod(class_ref, id_createAdaline_I, __args), JniHandleOwnership.TransferLocalRef));
     } finally {
     }
 }
Esempio n. 29
0
 public static global::Android.Graphics.Point PixelXYToTileXY(int pixelX, int pixelY, global::Android.Graphics.Point reuse)
 {
     if (id_PixelXYToTileXY_IILandroid_graphics_Point_ == IntPtr.Zero)
     {
         id_PixelXYToTileXY_IILandroid_graphics_Point_ = JNIEnv.GetStaticMethodID(class_ref, "PixelXYToTileXY", "(IILandroid/graphics/Point;)Landroid/graphics/Point;");
     }
     global::Android.Graphics.Point __ret = global::Java.Lang.Object.GetObject <global::Android.Graphics.Point> (JNIEnv.CallStaticObjectMethod(class_ref, id_PixelXYToTileXY_IILandroid_graphics_Point_, new JValue(pixelX), new JValue(pixelY), new JValue(reuse)), JniHandleOwnership.TransferLocalRef);
     return(__ret);
 }
 public static unsafe global::Com.Algorithmia.AlgorithmiaClient Client()
 {
     if (id_client == IntPtr.Zero)
     {
         id_client = JNIEnv.GetStaticMethodID(class_ref, "client", "()Lcom/algorithmia/AlgorithmiaClient;");
     }
     try {
         return(global::Java.Lang.Object.GetObject <global::Com.Algorithmia.AlgorithmiaClient> (JNIEnv.CallStaticObjectMethod(class_ref, id_client), JniHandleOwnership.TransferLocalRef));
     } finally {
     }
 }