-
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() } }
-
-
Constructor Summary
Constructors Constructor Description ShowCustomerCenter()
-
Method Summary
Modifier and Type Method Description IntentcreateIntent(Context context, Unit input)UnitparseResult(Integer resultCode, Intent intent)-
-
Method Detail
-
createIntent
Intent createIntent(Context context, Unit input)
-
parseResult
Unit parseResult(Integer resultCode, Intent intent)
-
-
-
-