Pack200.IPacker.AddPropertyChangeListener(IPropertyChangeListener) Method

Definition

Registers a listener for PropertyChange events on the properties map.

[Android.Runtime.Register("addPropertyChangeListener", "(Ljava/beans/PropertyChangeListener;)V", "GetAddPropertyChangeListener_Ljava_beans_PropertyChangeListener_Handler:Java.Util.Jar.Pack200/IPackerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void AddPropertyChangeListener (Java.Beans.IPropertyChangeListener? listener);
[<Android.Runtime.Register("addPropertyChangeListener", "(Ljava/beans/PropertyChangeListener;)V", "GetAddPropertyChangeListener_Ljava_beans_PropertyChangeListener_Handler:Java.Util.Jar.Pack200/IPackerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member AddPropertyChangeListener : Java.Beans.IPropertyChangeListener -> unit

Parameters

listener
IPropertyChangeListener

An object to be invoked when a property is changed.

Attributes

Remarks

Registers a listener for PropertyChange events on the properties map. This is typically used by applications to update a progress bar.

The default implementation of this method does nothing and has no side-effects.

<b>WARNING:</b> This method is omitted from the interface declaration in all subset Profiles of Java SE that do not include the java.beans package.

This member is deprecated. The dependency on PropertyChangeListener creates a significant impediment to future modularization of the Java platform. This method will be removed in a future release. Applications that need to monitor progress of the packer can poll the value of the #PROGRESS PROGRESS property instead.

Java documentation for java.util.jar.Pack200.Packer.addPropertyChangeListener(java.beans.PropertyChangeListener).

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