show Permission Dialog
abstract fun showPermissionDialog(context: Context, onDismissClicked: () -> Unit? = null): Dialog
Content copied to clipboard
Displays a Material dialog requesting the user to open the Settings app and allow the permissions required for Virtual Visits. The two options provided to the user are "OK" and "APP SETTINGS". "OK" dismisses the dialog. "APP SETTINGS" takes the user to the settings app.
Return
The dialog that is now showing.
Parameters
context
onDismissClicked
A lambda method called when the user dismisses the dialog without giving permissions.