1// Signature format: 2.0 2package android.app.role { 3 4 public final class RoleManager { 5 method @NonNull public android.content.Intent createRequestRoleIntent(@NonNull String); 6 method public boolean isRoleAvailable(@NonNull String); 7 method public boolean isRoleHeld(@NonNull String); 8 field public static final String ROLE_ASSISTANT = "android.app.role.ASSISTANT"; 9 field public static final String ROLE_BROWSER = "android.app.role.BROWSER"; 10 field public static final String ROLE_CALL_REDIRECTION = "android.app.role.CALL_REDIRECTION"; 11 field public static final String ROLE_CALL_SCREENING = "android.app.role.CALL_SCREENING"; 12 field public static final String ROLE_DIALER = "android.app.role.DIALER"; 13 field public static final String ROLE_EMERGENCY = "android.app.role.EMERGENCY"; 14 field public static final String ROLE_HOME = "android.app.role.HOME"; 15 field public static final String ROLE_NOTES = "android.app.role.NOTES"; 16 field public static final String ROLE_SMS = "android.app.role.SMS"; 17 field @FlaggedApi("android.permission.flags.wallet_role_enabled") public static final String ROLE_WALLET = "android.app.role.WALLET"; 18 } 19 20} 21 22