public interface RequestDialogListener
RequestPermissionsImageFragment
and RequestPermissionsTextFragment
.
The *Activity* must implement this listener. It will be set when the fragment is attached.Modifier and Type | Method and Description |
---|---|
boolean |
onAccept()
The user has accepted the requested permissions.
|
void |
onCancel()
Notification that the dialog has been canceled.
|
boolean |
onDecline()
The user has declined to give the permissions.
|
void |
onDismiss()
Notification that the dialog has been dismissed.
|
boolean onAccept()
boolean onDecline()
void onCancel()
DialogFragment#isCancelable()
is true and the user tapped outside the dialog or Dialog.cancel()
was explicitly called.
Generally this can be treated as a decline, but it generally means the user did not explicitly accept
or decline the requests.void onDismiss()