StorageManager.IsEncrypted(File) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return if data stored at or under the given path will be encrypted while at rest.
[Android.Runtime.Register("isEncrypted", "(Ljava/io/File;)Z", "GetIsEncrypted_Ljava_io_File_Handler", ApiSince=24)]
public virtual bool IsEncrypted (Java.IO.File? file);
[<Android.Runtime.Register("isEncrypted", "(Ljava/io/File;)Z", "GetIsEncrypted_Ljava_io_File_Handler", ApiSince=24)>]
abstract member IsEncrypted : Java.IO.File -> bool
override this.IsEncrypted : Java.IO.File -> bool
Parameters
- file
- File
Returns
- Attributes
Remarks
Return if data stored at or under the given path will be encrypted while at rest. This can help apps avoid the overhead of double-encrypting data.
Java documentation for android.os.storage.StorageManager.isEncrypted(java.io.File)
.
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.