Stay organized with collections
Save and categorize content based on your preferences.
android.view.inspector
Interfaces
InspectionCompanion<T> |
An interface for companion objects used to inspect views.
|
InspectionCompanionProvider |
An interface for services that can provide inspection companions for a class.
|
PropertyMapper |
An interface for mapping the string names of inspectable properties to integer identifiers.
|
PropertyReader |
An interface for reading the properties of an inspectable object.
|
Classes
Exceptions
Interfaces
Classes
Exceptions
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,["# android.view.inspector\n\nAdded in [API level 29](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nandroid.view.inspector\n======================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/view/inspector/package-summary \"View this page in Kotlin\") \\|Java\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|\n| [InspectionCompanion](/reference/android/view/inspector/InspectionCompanion)\\\u003cT\\\u003e | An interface for companion objects used to inspect views. |\n| [InspectionCompanionProvider](/reference/android/view/inspector/InspectionCompanionProvider) | An interface for services that can provide inspection companions for a class. |\n| [PropertyMapper](/reference/android/view/inspector/PropertyMapper) | An interface for mapping the string names of inspectable properties to integer identifiers. |\n| [PropertyReader](/reference/android/view/inspector/PropertyReader) | An interface for reading the properties of an inspectable object. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|\n| [IntFlagMapping](/reference/android/view/inspector/IntFlagMapping) | Maps the values of an `int` property to sets of string for properties that encode flags. |\n| [StaticInspectionCompanionProvider](/reference/android/view/inspector/StaticInspectionCompanionProvider) | An inspection companion provider that finds companions as inner classes or generated code. |\n| [WindowInspector](/reference/android/view/inspector/WindowInspector) | Provides access to window inspection information. |\n\nExceptions\n----------\n\n|--------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [InspectionCompanion.UninitializedPropertyMapException](/reference/android/view/inspector/InspectionCompanion.UninitializedPropertyMapException) | Thrown by [InspectionCompanion.readProperties(java.lang.Object, android.view.inspector.PropertyReader)](/reference/android/view/inspector/InspectionCompanion#readProperties(T,%20android.view.inspector.PropertyReader)) if called before [InspectionCompanion.mapProperties(android.view.inspector.PropertyMapper)](/reference/android/view/inspector/InspectionCompanion#mapProperties(android.view.inspector.PropertyMapper)). |\n| [PropertyMapper.PropertyConflictException](/reference/android/view/inspector/PropertyMapper.PropertyConflictException) | Thrown from a map method if a property name is already mapped as different type. |\n| [PropertyReader.PropertyTypeMismatchException](/reference/android/view/inspector/PropertyReader.PropertyTypeMismatchException) | Thrown if a client calls a typed read method for a property of a different type. |\n\n-\n\n Interfaces\n ----------\n\n - [InspectionCompanion](/reference/android/view/inspector/InspectionCompanion)\n - [InspectionCompanionProvider](/reference/android/view/inspector/InspectionCompanionProvider)\n - [PropertyMapper](/reference/android/view/inspector/PropertyMapper)\n - [PropertyReader](/reference/android/view/inspector/PropertyReader)\n-\n\n Classes\n -------\n\n - [IntFlagMapping](/reference/android/view/inspector/IntFlagMapping)\n - [StaticInspectionCompanionProvider](/reference/android/view/inspector/StaticInspectionCompanionProvider)\n - [WindowInspector](/reference/android/view/inspector/WindowInspector)\n-\n\n Exceptions\n ----------\n\n - [InspectionCompanion.UninitializedPropertyMapException](/reference/android/view/inspector/InspectionCompanion.UninitializedPropertyMapException)\n - [PropertyMapper.PropertyConflictException](/reference/android/view/inspector/PropertyMapper.PropertyConflictException)\n - [PropertyReader.PropertyTypeMismatchException](/reference/android/view/inspector/PropertyReader.PropertyTypeMismatchException)"]]