Package 

Class ShowCustomerCenter


  • 
    public final class ShowCustomerCenter
    extends ActivityResultContract<Unit, Unit>
                        

    Contract for launching the Customer Center.

    Usage:

    class MyActivity : ComponentActivity() {
        private val customerCenter = registerForActivityResult(ShowCustomerCenter()) {
            // Handle the dismissal
        }
    
        fun showCustomerCenter() {
            customerCenter.launch()
        }
    }
    • Method Summary

      Modifier and Type Method Description
      Intent createIntent(Context context, Unit input)
      Unit parseResult(Integer resultCode, Intent intent)
      • Methods inherited from class com.revenuecat.purchases.ui.revenuecatui.customercenter.ShowCustomerCenter

        getSynchronousResult
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait