Share via


PackageManager.IsDeviceUpgrading Property

Definition

Returns true if the device is upgrading, such as first boot after OTA.

public virtual bool IsDeviceUpgrading { [Android.Runtime.Register("isDeviceUpgrading", "()Z", "GetIsDeviceUpgradingHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("isDeviceUpgrading", "()Z", "GetIsDeviceUpgradingHandler", ApiSince=29)>]
member this.IsDeviceUpgrading : bool

Property Value

Attributes

Remarks

Returns true if the device is upgrading, such as first boot after OTA.

Java documentation for android.content.pm.PackageManager.isDeviceUpgrading().

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