public DynamicJavaClass(string jniClassName) { if (jniClassName == null) { throw new ArgumentNullException("jniClassName"); } JniClassName = jniClassName; info = JavaClassInfo.GetClassInfo(jniClassName); }
public DynamicJavaInstance(IJavaPeerable value) { if (value == null) { throw new ArgumentNullException("value"); } Value = value; var type = JniEnvironment.Types.GetJniTypeNameFromInstance(value.PeerReference); klass = JavaClassInfo.GetClassInfo(type); }