public virtual unsafe void IsAvailable(global::Android.App.Application applicationContext, global::Com.Adyen.Checkout.Base.Model.Paymentmethods.PaymentMethod paymentMethod, global::Java.Lang.Object configuration, global::Com.Adyen.Checkout.Base.IComponentAvailableCallback @callback) { const string __id = "isAvailable.(Landroid/app/Application;Lcom/adyen/checkout/base/model/paymentmethods/PaymentMethod;Lcom/adyen/checkout/card/CardConfiguration;Lcom/adyen/checkout/base/ComponentAvailableCallback;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue[4]; __args[0] = new JniArgumentValue((applicationContext == null) ? IntPtr.Zero : ((global::Java.Lang.Object)applicationContext).Handle); __args[1] = new JniArgumentValue((paymentMethod == null) ? IntPtr.Zero : ((global::Java.Lang.Object)paymentMethod).Handle); __args[2] = new JniArgumentValue((configuration == null) ? IntPtr.Zero : ((global::Java.Lang.Object)configuration).Handle); __args[3] = new JniArgumentValue((@callback == null) ? IntPtr.Zero : ((global::Java.Lang.Object)@callback).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public virtual unsafe global::Java.Lang.Object Get(global::Android.Support.V4.App.FragmentActivity activity, global::Com.Adyen.Checkout.Base.Model.Paymentmethods.PaymentMethod paymentMethod, global::Java.Lang.Object configuration) { const string __id = "get.(Landroid/support/v4/app/FragmentActivity;Lcom/adyen/checkout/base/model/paymentmethods/PaymentMethod;Lcom/adyen/checkout/card/CardConfiguration;)Lcom/adyen/checkout/card/CardComponent;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue[3]; __args[0] = new JniArgumentValue((activity == null) ? IntPtr.Zero : ((global::Java.Lang.Object)activity).Handle); __args[1] = new JniArgumentValue((paymentMethod == null) ? IntPtr.Zero : ((global::Java.Lang.Object)paymentMethod).Handle); __args[2] = new JniArgumentValue((configuration == null) ? IntPtr.Zero : ((global::Java.Lang.Object)configuration).Handle); var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod(__id, this, __args); return(global::Java.Lang.Object.GetObject <global::Com.Adyen.Checkout.Card.CardComponent>(__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }