Stay organized with collections
Save and categorize content based on your preferences.
DevicePolicyResources
class DevicePolicyResources
Class containing the required identifiers to update device management resources.
See android.app.admin.DevicePolicyResourcesManager#getDrawable and android.app.admin.DevicePolicyResourcesManager#getString.
Summary
Constants |
static String |
An identifier used for:
- un-updatable resource IDs
- undefined sources
|
Constants
UNDEFINED
static val UNDEFINED: String
An identifier used for:
- un-updatable resource IDs
- undefined sources
Value: "UNDEFINED"
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# DevicePolicyResources\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDevicePolicyResources\n=====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/app/admin/DevicePolicyResources \"View this page in Java\") \n\n```\nclass DevicePolicyResources\n```\n\n|---|----------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.app.admin.DevicePolicyResources](#) |\n\nClass containing the required identifiers to update device management resources.\n\nSee android.app.admin.DevicePolicyResourcesManager#getDrawable and android.app.admin.DevicePolicyResourcesManager#getString.\n\nSummary\n-------\n\n| Constants ||\n|-----------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|\n| static [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [UNDEFINED](#UNDEFINED:kotlin.String) An identifier used for: - un-updatable resource IDs - undefined sources \u003cbr /\u003e |\n\nConstants\n---------\n\n### UNDEFINED\n\nAdded in [API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val UNDEFINED: String\n```\n\nAn identifier used for:\n\n- un-updatable resource IDs\n- undefined sources\n\n\u003cbr /\u003e\n\n Value: \"UNDEFINED\""]]