Udostępnij za pośrednictwem


Pack200.Packer.Progress Field

Definition

Caution

Use 'Java.Util.Jar.Pack200.IPacker.Progress'. This class will be removed in a future release.

The unpacker's progress as a percentage, as periodically updated by the unpacker.

[Android.Runtime.Register("PROGRESS")]
[System.Obsolete("Use 'Java.Util.Jar.Pack200.IPacker.Progress'. This class will be removed in a future release.")]
public const string Progress;
[<Android.Runtime.Register("PROGRESS")>]
[<System.Obsolete("Use 'Java.Util.Jar.Pack200.IPacker.Progress'. This class will be removed in a future release.")>]
val mutable Progress : string

Field Value

Attributes

Remarks

The unpacker's progress as a percentage, as periodically updated by the unpacker. Values of 0 - 100 are normal, and -1 indicates a stall. Progress can be monitored by polling the value of this property.

At a minimum, the unpacker must set progress to 0 at the beginning of a packing operation, and to 100 at the end.

Java documentation for java.util.jar.Pack200.Packer.PROGRESS.

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