SetSchemaResponse.MigratedTypes Property
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.
Returns a Set of schema type that were migrated by the AppSearchSession#setSchema call.
public virtual System.Collections.Generic.ICollection<string> MigratedTypes { [Android.Runtime.Register("getMigratedTypes", "()Ljava/util/Set;", "GetGetMigratedTypesHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMigratedTypes", "()Ljava/util/Set;", "GetGetMigratedTypesHandler", ApiSince=31)>]
member this.MigratedTypes : System.Collections.Generic.ICollection<string>
Property Value
- Attributes
Remarks
Returns a Set of schema type that were migrated by the AppSearchSession#setSchema call.
A "migrated" type is a schema type that has triggered a Migrator instance to migrate documents of the schema type to another schema type, or to another version of the schema type.
If a document fails to be migrated, a MigrationFailure will be generated for that document.
Java documentation for android.app.appsearch.SetSchemaResponse.getMigratedTypes().
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.