TestCarContext.PermissionRequestInfo

public static class TestCarContext.PermissionRequestInfo
extends Object

java.lang.Object
   ↳ androidx.car.app.testing.TestCarContext.PermissionRequestInfo


A representation of a permission request including the permissions that were requested as well as the callback provided.

Summary

Public methods

OnRequestPermissionsListener getListener()

Returns the listener that was provided in the permission request.

List<String> getPermissionsRequested()

Returns the permissions that were requested.

Inherited methods

Public methods

getListener

public OnRequestPermissionsListener getListener ()

Returns the listener that was provided in the permission request.

Returns
OnRequestPermissionsListener

getPermissionsRequested

public List<String> getPermissionsRequested ()

Returns the permissions that were requested.

Returns
List<String>