Package com.cefrium.payments
Class CefPaymentInterfaceRegistrar
java.lang.Object
com.cefrium.payments.CefPaymentInterfaceRegistrar
Registers the no-UI Cefrium PaymentRequest factory for render frames.
Install once at SDK init via register(). Because the interface registry applies
render-frame-host registrars in insertion order and addInterface is last-writer-wins,
adding this registrar after Chrome's (Chrome's runs at browser-process startup) makes
CefPaymentRequestFactory override Chrome's ChromePaymentRequestFactory for
PaymentRequest.MANAGER. The Chrome factory requires a ChromeActivity + TabModel that an
embedding lacks; ours launches the matching Android payment app with no browser UI, like WebView.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister()Idempotent; safe to call on every navigation.
-
Method Details
-
register
public static void register()Idempotent; safe to call on every navigation.
-