public unsafe global::Com.Bluecats.Sdk.BCPlatformType GetIntFromEnum(global::Com.Bluecats.Sdk.BCPlatformType.BCPlatform platform)
 {
     if (id_getIntFromEnum_Lcom_bluecats_sdk_BCPlatformType_BCPlatform_ == IntPtr.Zero)
     {
         id_getIntFromEnum_Lcom_bluecats_sdk_BCPlatformType_BCPlatform_ = JNIEnv.GetMethodID(class_ref, "getIntFromEnum", "(Lcom/bluecats/sdk/BCPlatformType$BCPlatform;)Lcom/bluecats/sdk/BCPlatformType;");
     }
     try {
         JValue *__args = stackalloc JValue [1];
         __args [0] = new JValue(platform);
         global::Com.Bluecats.Sdk.BCPlatformType __ret = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCPlatformType> (JNIEnv.CallObjectMethod(((global::Java.Lang.Object) this).Handle, id_getIntFromEnum_Lcom_bluecats_sdk_BCPlatformType_BCPlatform_, __args), JniHandleOwnership.TransferLocalRef);
         return(__ret);
     } finally {
     }
 }
            public static unsafe global::Com.Bluecats.Sdk.BCPlatformType.BCPlatform ValueOf(string name)
            {
                if (id_valueOf_Ljava_lang_String_ == IntPtr.Zero)
                {
                    id_valueOf_Ljava_lang_String_ = JNIEnv.GetStaticMethodID(class_ref, "valueOf", "(Ljava/lang/String;)Lcom/bluecats/sdk/BCPlatformType$BCPlatform;");
                }
                IntPtr native_name = JNIEnv.NewString(name);

                try {
                    JValue *__args = stackalloc JValue [1];
                    __args [0] = new JValue(native_name);
                    global::Com.Bluecats.Sdk.BCPlatformType.BCPlatform __ret = global::Java.Lang.Object.GetObject <global::Com.Bluecats.Sdk.BCPlatformType.BCPlatform> (JNIEnv.CallStaticObjectMethod(class_ref, id_valueOf_Ljava_lang_String_, __args), JniHandleOwnership.TransferLocalRef);
                    return(__ret);
                } finally {
                    JNIEnv.DeleteLocalRef(native_name);
                }
            }