OnRequestPermissionsListener

public interface OnRequestPermissionsListener

androidx.car.app.OnRequestPermissionsListener


A listener with the results from a permissions request.

Summary

Public methods

abstract void onRequestPermissionsResult(List<String> grantedPermissions, List<String> rejectedPermissions)

Provides which permissions were approved and which were rejected by the user.

Public methods

onRequestPermissionsResult

public abstract void onRequestPermissionsResult (List<String> grantedPermissions, 
                List<String> rejectedPermissions)

Provides which permissions were approved and which were rejected by the user.

Parameters
grantedPermissions List: the permissions that the user granted

rejectedPermissions List: the permissions that the user rejected