Class ShadowActivity.PermissionsRequest

java.lang.Object
org.robolectric.shadows.ShadowActivity.PermissionsRequest
Enclosing class:
ShadowActivity

public static class ShadowActivity.PermissionsRequest extends Object
Class to hold a permissions request, including its request code.
  • Field Details

    • requestCode

      public final int requestCode
    • requestedPermissions

      public final String[] requestedPermissions
    • deviceId

      public final int deviceId
  • Constructor Details

    • PermissionsRequest

      public PermissionsRequest(String[] requestedPermissions, int requestCode)
    • PermissionsRequest

      public PermissionsRequest(String[] requestedPermissions, int requestCode, int deviceId)