Class AppUpdateState
- Namespace
- VpnHood.AppLib.Abstractions.Updaters
- Assembly
- VpnHood.AppLib.Abstractions.dll
Represents an update of the app as it stands.
public class AppUpdateState
- Inheritance
-
AppUpdateState
- Inherited Members
Properties
AvailableSince
Gets since when the channel has offered the update, in UTC, where it tells, or null: a store's own update has had that long, as Play counts the days it has known it.
public DateTime? AvailableSince { get; init; }
Property Value
DownloadedBytes
Gets the bytes of the update downloaded so far, as the channel tells them while it downloads; 0 where it tells none, as in the stages after.
public long DownloadedBytes { get; init; }
Property Value
ErrorMessage
public 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
None
Gets the state of no update.
public static AppUpdateState None { get; }
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 while it downloads, or null where it tells none, as before the server has told it and in the stages after.
public long? TotalBytes { get; init; }
Property Value
- long?