Stay organized with collections
Save and categorize content based on your preferences.
DrawInstructions
class DrawInstructions
A data parcel that carries the instructions to draw the RemoteViews, as an alternative to XML layout.
Summary
Public methods
getSupportedVersion
static fun getSupportedVersion(): Long
Version number of DrawInstructions
currently supported.
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,["# RemoteViews.DrawInstructions\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDrawInstructions\n================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/widget/RemoteViews.DrawInstructions \"View this page in Java\") \n\n```\nclass DrawInstructions\n```\n\n|---|--------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.widget.RemoteViews.DrawInstructions](#) |\n\nA data parcel that carries the instructions to draw the RemoteViews, as an alternative to XML layout.\n\nSummary\n-------\n\n| Nested classes ||\n|---|-----------------------------------------------------------------------------------------------------------------------------------|\n| | [Builder](/reference/kotlin/android/widget/RemoteViews.DrawInstructions.Builder) Builder class for [DrawInstructions](#) objects. |\n\n| Public methods ||\n|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|\n| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | [getSupportedVersion](#getSupportedVersion())`()` Version number of [DrawInstructions](#) currently supported. |\n\nPublic methods\n--------------\n\n### getSupportedVersion\n\nAdded in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic fun getSupportedVersion(): Long\n```\n\nVersion number of [DrawInstructions](#) currently supported."]]