次の方法で共有


Migrator.ShouldMigrate(Int32, Int32) Method

Definition

Returns true if this migrator's source type needs to be migrated to update from currentVersion to finalVersion.

[Android.Runtime.Register("shouldMigrate", "(II)Z", "GetShouldMigrate_IIHandler", ApiSince=31)]
public abstract bool ShouldMigrate (int currentVersion, int finalVersion);
[<Android.Runtime.Register("shouldMigrate", "(II)Z", "GetShouldMigrate_IIHandler", ApiSince=31)>]
abstract member ShouldMigrate : int * int -> bool

Parameters

currentVersion
Int32
finalVersion
Int32

Returns

Attributes

Remarks

Java documentation for android.app.appsearch.Migrator.shouldMigrate(int, int).

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