GeofencingConsentDialog
fun GeofencingConsentDialog(onDismissRequest: () -> Unit, onDisagree: () -> Unit, onAgree: () -> Unit, currentUserConsent: Boolean)
Build a GeofencingConsentDialog to be added to the AttributionDialog when geofencing settings is clicked.
Parameters
onDismissRequest
The callback to be invoked when the dialog is dismissed.
onDisagree
The callback to be invoked when user revokes consent for geofencing.
onAgree
The callback to be invoked when user grants consent for geofencing.
currentUserConsent
The current state of the user consent.