SearchResult.ParentTypeMap Property

Definition

Returns the map from schema type names to the list of their parent types.

public System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>> ParentTypeMap { [Android.Runtime.Register("getParentTypeMap", "()Ljava/util/Map;", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getParentTypeMap", "()Ljava/util/Map;", "", ApiSince=36)>]
member this.ParentTypeMap : System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>>

Property Value

Attributes

Remarks

Returns the map from schema type names to the list of their parent types.

The map includes entries for the GenericDocument's own type and all of the nested documents' types. Child types are guaranteed to appear before parent types in each list.

Parent types include transitive parents.

Calling this function repeatedly is inefficient. Prefer to retain the Map returned by this function, rather than calling it multiple times.

Java documentation for android.app.appsearch.SearchResult.getParentTypeMap().

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