コード例 #1
0
 public static void Print(global::Com.Google.Protobuf.UnknownFieldSet p0, global::Java.Lang.IAppendable p1)
 {
     if (id_print_Lcom_google_protobuf_UnknownFieldSet_Ljava_lang_Appendable_ == IntPtr.Zero)
     {
         id_print_Lcom_google_protobuf_UnknownFieldSet_Ljava_lang_Appendable_ = JNIEnv.GetStaticMethodID(class_ref, "print", "(Lcom/google/protobuf/UnknownFieldSet;Ljava/lang/Appendable;)V");
     }
     JNIEnv.CallStaticVoidMethod(class_ref, id_print_Lcom_google_protobuf_UnknownFieldSet_Ljava_lang_Appendable_, new JValue(p0), new JValue(p1));
 }
コード例 #2
0
        public static string ShortDebugString(global::Com.Google.Protobuf.UnknownFieldSet p0)
        {
            if (id_shortDebugString_Lcom_google_protobuf_UnknownFieldSet_ == IntPtr.Zero)
            {
                id_shortDebugString_Lcom_google_protobuf_UnknownFieldSet_ = JNIEnv.GetStaticMethodID(class_ref, "shortDebugString", "(Lcom/google/protobuf/UnknownFieldSet;)Ljava/lang/String;");
            }
            string __ret = JNIEnv.GetString(JNIEnv.CallStaticObjectMethod(class_ref, id_shortDebugString_Lcom_google_protobuf_UnknownFieldSet_, new JValue(p0)), JniHandleOwnership.TransferLocalRef);

            return(__ret);
        }