Compartir a través de


IInspectionCompanion.MapProperties(IPropertyMapper) Method

Definition

Map the string names of the properties this companion knows about to integer IDs.

[Android.Runtime.Register("mapProperties", "(Landroid/view/inspector/PropertyMapper;)V", "GetMapProperties_Landroid_view_inspector_PropertyMapper_Handler:Android.Views.Inspectors.IInspectionCompanionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)]
public void MapProperties (Android.Views.Inspectors.IPropertyMapper propertyMapper);
[<Android.Runtime.Register("mapProperties", "(Landroid/view/inspector/PropertyMapper;)V", "GetMapProperties_Landroid_view_inspector_PropertyMapper_Handler:Android.Views.Inspectors.IInspectionCompanionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=29)>]
abstract member MapProperties : Android.Views.Inspectors.IPropertyMapper -> unit

Parameters

propertyMapper
IPropertyMapper

A PropertyMapper maps string names to IDs.

Attributes

Remarks

Map the string names of the properties this companion knows about to integer IDs.

Each companion is responsible for storing the integer IDs of all its properties. This is the only method that is allowed to modify the stored IDs.

Calling #readProperties(T, PropertyReader) before calling this results in undefined behavior.

Java documentation for android.view.inspector.InspectionCompanion.mapProperties(android.view.inspector.PropertyMapper).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to