Class AppUpdateState
Represents an update of the app as it stands.
public class AppUpdateState
- Inheritance
-
AppUpdateState
- Inherited Members
Properties
DownloadedBytes
Gets the bytes of the update downloaded so far, as the channel tells them, or 0 where it tells none.
public required long DownloadedBytes { get; init; }
Property Value
ErrorMessage
Gets why the update failed, in its download, its install or a read of its state, with Failed, or null.
public required string? ErrorMessage { get; init; }
Property Value
IsInstallPermissionNeeded
Gets a value indicating whether, with Downloaded, the system still has to let the app install apps, which Install asks first, as Android's "Install unknown apps", so the person's next Install installs.
public bool IsInstallPermissionNeeded { get; init; }
Property Value
Stage
Gets where the update stands.
public required AppUpdateStage Stage { get; init; }
Property Value
TotalBytes
Gets the update's size, in bytes, as the channel tells it, or null where it tells none, as before the server has told it.
public required long? TotalBytes { get; init; }
Property Value
- long?
Version
Gets the version the update brings.
public required Version Version { get; init; }