Language

FileSystemProvider.IsHidden(IPath) Method

Definition

Tells whether or not a file is considered hidden.

[Android.Runtime.Register("isHidden", "(Ljava/nio/file/Path;)Z", "GetIsHidden_Ljava_nio_file_Path_Handler", ApiSince=26)]
public abstract bool IsHidden(Java.Nio.FileNio.IPath? path);
[<Android.Runtime.Register("isHidden", "(Ljava/nio/file/Path;)Z", "GetIsHidden_Ljava_nio_file_Path_Handler", ApiSince=26)>]
abstract member IsHidden : Java.Nio.FileNio.IPath -> bool

Parameters

path
IPath

the path to the file to test

Returns

true if the file is considered hidden

Attributes

Exceptions

if an I/O error occurs

In the case of the default provider, and a security manager is installed, the checkRead method is invoked to check read access to the file.

Remarks

Tells whether or not a file is considered hidden. This method works in exactly the manner specified by the Files#isHidden method.

This method is invoked by the Files#isHidden isHidden method.

Java documentation for java.nio.file.spi.FileSystemProvider.isHidden(java.nio.file.Path).

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