Exemple #1
0
        public GeocoderGisgraphy(global::Android.Content.Context p0, global::Java.Util.Locale p1) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer)
        {
            if (Handle != IntPtr.Zero)
            {
                return;
            }

            if (GetType() != typeof(GeocoderGisgraphy))
            {
                SetHandle(
                    global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Landroid/content/Context;Ljava/util/Locale;)V", new JValue(p0), new JValue(p1)),
                    JniHandleOwnership.TransferLocalRef);
                global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Landroid/content/Context;Ljava/util/Locale;)V", new JValue(p0), new JValue(p1));
                return;
            }

            if (id_ctor_Landroid_content_Context_Ljava_util_Locale_ == IntPtr.Zero)
            {
                id_ctor_Landroid_content_Context_Ljava_util_Locale_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Landroid/content/Context;Ljava/util/Locale;)V");
            }
            SetHandle(
                global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Landroid_content_Context_Ljava_util_Locale_, new JValue(p0), new JValue(p1)),
                JniHandleOwnership.TransferLocalRef);
            JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Landroid_content_Context_Ljava_util_Locale_, new JValue(p0), new JValue(p1));
        }
Exemple #2
0
        public static unsafe void SetUILanguage(global::Java.Util.Locale p0)
        {
            const string __id = "setUILanguage.(Ljava/util/Locale;)V";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                _members.StaticMethods.InvokeVoidMethod(__id, __args);
            } finally {
                global::System.GC.KeepAlive(p0);
            }
        }
Exemple #3
0
        public static unsafe bool IsLocaleCalendarNonGregorian(global::Java.Util.Locale inputLocale)
        {
            const string __id = "isLocaleCalendarNonGregorian.(Ljava/util/Locale;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [1];
                __args [0] = new JniArgumentValue((inputLocale == null) ? IntPtr.Zero : ((global::Java.Lang.Object)inputLocale).Handle);
                var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args);
                return(__rm);
            } finally {
                global::System.GC.KeepAlive(inputLocale);
            }
        }
 public global::Android.Views.Textservice.SpellCheckerSession NewSpellCheckerSession(global::Android.OS.Bundle bundle, global::Java.Util.Locale locale, global::Android.Views.Textservice.SpellCheckerSession.ISpellCheckerSessionListener listener, bool referToSpellCheckerLanguageSettings)                         /* MethodBuilder.Create */
 {
     return(default(global::Android.Views.Textservice.SpellCheckerSession));
 }
Exemple #5
0
 public virtual int IsLanguageAvailable(global::Java.Util.Locale loc)                         /* MethodBuilder.Create */
 {
     return(default(int));
 }
 public virtual string GetReason(int int32, global::Java.Util.Locale locale)                         /* MethodBuilder.Create */
 {
     return(default(string));
 }