共用方式為


Handler.Filter Property

Definition

Get the current Filter for this Handler. -or- Set a Filter to control output on this Handler.

public virtual Java.Util.Logging.IFilter? Filter { [Android.Runtime.Register("getFilter", "()Ljava/util/logging/Filter;", "GetGetFilterHandler")] get; [Android.Runtime.Register("setFilter", "(Ljava/util/logging/Filter;)V", "GetSetFilter_Ljava_util_logging_Filter_Handler")] set; }
[<get: Android.Runtime.Register("getFilter", "()Ljava/util/logging/Filter;", "GetGetFilterHandler")>]
[<set: Android.Runtime.Register("setFilter", "(Ljava/util/logging/Filter;)V", "GetSetFilter_Ljava_util_logging_Filter_Handler")>]
member this.Filter : Java.Util.Logging.IFilter with get, set

Property Value

a Filter object (may be null)

Attributes

Remarks

Property getter documentation:

Get the current Filter for this Handler.

Java documentation for java.util.logging.Handler.getFilter().

Property setter documentation:

Set a Filter to control output on this Handler.

For each call of publish the Handler will call this Filter (if it is non-null) to check if the LogRecord should be published or discarded.

Java documentation for java.util.logging.Handler.setFilter(java.util.logging.Filter).

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