Stay organized with collections
Save and categorize content based on your preferences.
Void
class Void
The Void
class is an uninstantiable placeholder class to hold a reference to the Class
object representing the Java keyword void.
Summary
Properties |
static Class<Void!>! |
The Class object representing the pseudo-type corresponding to the keyword void .
|
Properties
TYPE
static val TYPE: Class<Void!>!
The Class
object representing the pseudo-type corresponding to the keyword void
.
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,["# Void\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nVoid\n====\n\n```\nclass Void\n```\n\n|---|---------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [java.lang.Void](#) |\n\nThe `Void` class is an uninstantiable placeholder class to hold a reference to the `Class` object representing the Java keyword void.\n\nSummary\n-------\n\n| Properties ||\n|------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| static [Class](/reference/kotlin/java/lang/Class)\\\u003c[Void](#)!\\\u003e! | [TYPE](#TYPE:java.lang.Class) The `Class` object representing the pseudo-type corresponding to the keyword `void`. |\n\nProperties\n----------\n\n### TYPE\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val TYPE: Class\u003cVoid!\u003e!\n```\n\nThe `Class` object representing the pseudo-type corresponding to the keyword `void`."]]