语言

SetSchemaResponse.MigratedTypes 属性

定义

返回 Set 由调用迁移的 AppSearchSession#setSchema 架构类型。

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>

属性值

特性

注解

返回 Set 由调用迁移的 AppSearchSession#setSchema 架构类型。

“迁移”类型是一种架构类型,它触发了实例 Migrator 将架构类型的文档迁移到另一个架构类型或架构类型的另一个版本。

如果无法迁移文档,将为该文档生成一个 MigrationFailure 文档。

Java文档android.app.appsearch.SetSchemaResponse.getMigratedTypes()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于