KOTLIN
Parameters
Example
Availing Universal Checkout is as easy as implementing one line of code:KOTLIN
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
fun showUniversalCheckout(context: Context, clientToken: String)
Hide Parameters
class CheckoutActivity : AppCompatActivity() {
// ...
private fun showUniversalCheckout(clientToken: String) {
// 👇 Add this
Primer.instance.showUniversalCheckout(context, clientToken)
}
}