StaticInspectionCompanionProvider.Provide(Class) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Locates and instantiates the inspection companion class associated with an inspectable type.
[Android.Runtime.Register("provide", "(Ljava/lang/Class;)Landroid/view/inspector/InspectionCompanion;", "GetProvide_Ljava_lang_Class_Handler", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public virtual Android.Views.Inspectors.IInspectionCompanion? Provide(Java.Lang.Class cls);
[<Android.Runtime.Register("provide", "(Ljava/lang/Class;)Landroid/view/inspector/InspectionCompanion;", "GetProvide_Ljava_lang_Class_Handler", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
abstract member Provide : Java.Lang.Class -> Android.Views.Inspectors.IInspectionCompanion
override this.Provide : Java.Lang.Class -> Android.Views.Inspectors.IInspectionCompanion
Parameters
- cls
- Class
The inspectable type whose companion is requested.
Returns
The inspection companion, or null when no compatible companion class is found.
Implements
- Attributes