DeviceFileSystem
Wisej.Hybrid.DeviceFileSystem
Last updated
Wisej.Hybrid.DeviceFileSystem
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides methods to interact with the device's file system, allowing you to perform various file-related operations.
Access this class through the singleton.
Initializes a new instance of .
Creates a directory at the given path.
path
The directory path to create.
Deletes the directory at the given path.
path
The directory path to delete.
Deletes the file at the given path.
path
The file path to delete.
Determines whether a file exists at the given path.
path
The file path to check.
Gets a list of file names in the specified directory.
directory
The directory path to query.
Reads the bytes from a file at the given path.
path
The file path to read from.
Reads the text from a file at the given path.
path
The file path to read from.
Writes the provided bytes to a file at the given path.
path
The file path to write to.
bytes
The bytes to write to the file.
Writes the provided text to a file at the given path.
path
The file path to write to.
contents
The text contents to write to the file.
Returns: . true if the file exists; otherwise, false.
Returns: . An array of file names in the directory.
Returns: . An array of bytes representing the file contents.
Returns: . The text content of the file.