Stay organized with collections
Save and categorize content based on your preferences.
AccessControlProfileId
open class AccessControlProfileId
A class used to wrap an access control profile identifiers.
Summary
Public constructors |
Constructs a new object holding a numerical identifier.
|
Public methods |
open Int |
Gets the numerical identifier wrapped by this object.
|
Public constructors
AccessControlProfileId
AccessControlProfileId(id: Int)
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
open fun getId(): Int
Gets the numerical identifier wrapped by this object.
Return |
Int |
the identifier. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# AccessControlProfileId\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAccessControlProfileId\n======================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/security/identity/AccessControlProfileId \"View this page in Java\") \n\n```\nopen class AccessControlProfileId\n```\n\n|---|-------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.security.identity.AccessControlProfileId](#) |\n\nA class used to wrap an access control profile identifiers.\n\nSummary\n-------\n\n| Public constructors ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [AccessControlProfileId](#AccessControlProfileId(kotlin.Int))`(`id:` `[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` Constructs a new object holding a numerical identifier. |\n\n| Public methods ||\n|---------------------------------------------------------------------------------|-----------------------------------------------------------------------------|\n| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getId](#getId())`()` Gets the numerical identifier wrapped by this object. |\n\nPublic constructors\n-------------------\n\n### AccessControlProfileId\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nAccessControlProfileId(id: Int)\n```\n\nConstructs a new object holding a numerical identifier.\n\nThe identifier must be a non-negative number and less than 32.\n\n| Parameters ||\n|------|---------------------------------------------------------------------------------------------|\n| `id` | [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html): the identifier. |\n\nPublic methods\n--------------\n\n### getId\n\nAdded in [API level 30](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getId(): Int\n```\n\nGets the numerical identifier wrapped by this object.\n\n| Return ||\n|----------------------------------------------------------------------------|-----------------|\n| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | the identifier. |"]]