AdaptyUIPermissionResult
class AdaptyUIPermissionResult
The outcome of an OS permission request, returned to the flow.
Build one with granted or denied:
override suspend fun handlePermission(
view: AdaptyUIFlowView,
permission: AdaptyUIPermission,
customArgs: Map<String, String>?
): AdaptyUIPermissionResult =
if (askUserFor(permission)) AdaptyUIPermissionResult.granted()
else AdaptyUIPermissionResult.denied("user declined")Content copied to clipboard