IDirectoryStreamFilter.Accept(Object) Method

Definition

Decides if the given directory entry should be accepted or filtered.

[Android.Runtime.Register("accept", "(Ljava/lang/Object;)Z", "GetAccept_Ljava_lang_Object_Handler:Java.Nio.FileNio.IDirectoryStreamFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)]
public bool Accept (Java.Lang.Object? entry);
[<Android.Runtime.Register("accept", "(Ljava/lang/Object;)Z", "GetAccept_Ljava_lang_Object_Handler:Java.Nio.FileNio.IDirectoryStreamFilterInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=26)>]
abstract member Accept : Java.Lang.Object -> bool

Parameters

entry
Object

the directory entry to be tested

Returns

true if the directory entry should be accepted

Attributes

Remarks

Decides if the given directory entry should be accepted or filtered.

Java documentation for java.nio.file.DirectoryStream.Filter.accept(T).

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