Added in API level 30
Deprecated in API level 10000

AccessControlProfileId


public class AccessControlProfileId
extends Object

java.lang.Object
   ↳ android.security.identity.AccessControlProfileId


This class was deprecated in API level 10000.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

A class used to wrap an access control profile identifiers.

Summary

Public constructors

AccessControlProfileId(int id)

This constructor is deprecated. Use java.security.KeyStore with the Android hardware-backed keystore instead.

Public methods

int getId()

This method is deprecated. Use java.security.KeyStore with the Android hardware-backed keystore instead.

Inherited methods

Public constructors

AccessControlProfileId

Added in API level 30
public AccessControlProfileId (int id)

This constructor is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

Constructs a new object holding a numerical identifier.

The identifier must be a non-negative number and less than 32.

Parameters
id int: the identifier.

Public methods

getId

Added in API level 30
public int getId ()

This method is deprecated.
Use java.security.KeyStore with the Android hardware-backed keystore instead.

Gets the numerical identifier wrapped by this object.

Returns
int the identifier.