added in version 24.1.0
belongs to Maven artifact com.android.support:support-v13:28.0.0-alpha1
Deprecated since version 27.1.0

FragmentCompat.OnRequestPermissionsResultCallback

public static interface FragmentCompat.OnRequestPermissionsResultCallback

android.support.v13.app.FragmentCompat.OnRequestPermissionsResultCallback


This interface was deprecated in API level 27.1.0.
Use Fragment instead of the framework Fragment.

This interface is the contract for receiving the results for permission requests.

Summary

Public methods

abstract void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults)

This method was deprecated in API level 27.1.0. Use Fragment instead of the framework Fragment.

Public methods

onRequestPermissionsResult

added in version 24.1.0
void onRequestPermissionsResult (int requestCode, 
                String[] permissions, 
                int[] grantResults)

This method was deprecated in API level 27.1.0.
Use Fragment instead of the framework Fragment.

Callback for the result from requesting permissions. This method is invoked for every call on requestPermissions(android.app.Fragment, String[], int)

Parameters
requestCode int: The request code passed in requestPermissions(android.app.Fragment, String[], int)

permissions String: The requested permissions. Never null.

grantResults int: The grant results for the corresponding permissions which is either PERMISSION_GRANTED or PERMISSION_DENIED. Never null.