Settings Dialog
class SettingsDialog(context: Context, @StyleRes() theme: Int, requestCode: Int, openOnNewTask: Boolean, title: String?, rationale: String?, positiveButtonText: String?, negativeButtonText: String?) : DialogInterface.OnClickListener
Content copied to clipboard
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
Types
Builder
Link copied to clipboard
Functions
onClick
Link copied to clipboard
open override fun onClick(dialogInterface: DialogInterface?, buttonType: Int)
Content copied to clipboard