static IntPtr n_NewConfiguration(IntPtr jnienv, IntPtr native__this) { global::Org.Jboss.Aerogear.Android.Core.IConfigurationProvider __this = global::Java.Lang.Object.GetObject <global::Org.Jboss.Aerogear.Android.Core.IConfigurationProvider> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.NewConfiguration())); }
public static unsafe void RegisterConfigurationProvider(global::Java.Lang.Class configurationClass, global::Org.Jboss.Aerogear.Android.Core.IConfigurationProvider provider) { if (id_registerConfigurationProvider_Ljava_lang_Class_Lorg_jboss_aerogear_android_core_ConfigurationProvider_ == IntPtr.Zero) { id_registerConfigurationProvider_Ljava_lang_Class_Lorg_jboss_aerogear_android_core_ConfigurationProvider_ = JNIEnv.GetStaticMethodID(class_ref, "registerConfigurationProvider", "(Ljava/lang/Class;Lorg/jboss/aerogear/android/core/ConfigurationProvider;)V"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(configurationClass); __args [1] = new JValue(provider); JNIEnv.CallStaticVoidMethod(class_ref, id_registerConfigurationProvider_Ljava_lang_Class_Lorg_jboss_aerogear_android_core_ConfigurationProvider_, __args); } finally { } }