TestCarContext.PermissionRequestInfo


public class TestCarContext.PermissionRequestInfo


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

Summary

Public methods

@NonNull OnRequestPermissionsListener

Returns the listener that was provided in the permission request.

@NonNull List<String>

Returns the permissions that were requested.

Public methods

getListener

Added in 1.1.0
public @NonNull OnRequestPermissionsListener getListener()

Returns the listener that was provided in the permission request.

getPermissionsRequested

Added in 1.1.0
public @NonNull List<StringgetPermissionsRequested()

Returns the permissions that were requested.