restore

suspend fun restore(): CustomerInfo?

Restores owned purchases and shows the latest entitlement result.

Return

The restored customer information, or null when restoration did not start or failed. Failures are reported in state.