Docs 菜单

Docs 主页开发应用程序Atlas Device SDKs

异常 RealmMigrationNeededException

在此页面上

  • io.realm.Exceptions
  • 构造函数
  • 方法摘要
  • 继承方法
  • 构造函数详细信息
  • 方法详细信息
  • getPath
构造函数和描述
字符串 canonicalRealmPath,
字符串 DetailsMessage
)
修饰符和类型
方法和说明

返回需要迁移的 Realm 文件的规范路径。

  • 从类 java.lang.Object 继承的方法 :getClass ,hashCode ,equals ,clone ,toString ,notify ,notifyAll ,wait ,wait ,wait ,finalize

  • 从类 java.lang.Throwable 继承的方法 :getMessagegetLocalizedMessagegetCauseinitCausetoStringprintStackTraceprintStackTraceprintStackTracefillInStackTracegetStackTracesetStackTraceaddSuppressedgetSuppressed

字符串 canonicalRealmPath,
字符串 DetailsMessage
)
公共 字符串 getPath ()

返回需要迁移的 Realm 文件的规范路径。这可用于在迁移过程中轻松引用:

返回:

Realm 文件的规范路径。

提示

另请参阅:

← 异常 RealmFileException