RationaleDialog

class RationaleDialog(context: Context, model: PermissionRequest) : DialogInterface.OnClickListener

Dialog to prompt the user to go to the app's settings screen and enable permissions. If the user clicks 'OK' on the dialog, they are sent to the settings screen. The result is returned to the Activity via Activity.onActivityResult.

Constructors

RationaleDialog
Link copied to clipboard
fun RationaleDialog(context: Context, model: PermissionRequest)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
onClick
Link copied to clipboard
open override fun onClick(dialogInterface: DialogInterface?, buttonType: Int)
showCompatDialog
Link copied to clipboard
fun showCompatDialog()
Display the dialog.
showDialog
Link copied to clipboard
fun showDialog()
toString
Link copied to clipboard
open fun toString(): String