BlackBerry Dynamics for Xamarin Forms  7.0.0.22
Runtime library for Xamarin Forms applications
BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata Interface Reference

This interface supplies information about the state of a file or directory entry on the BBD secure file system. More...

Public Member Functions

bool CanExecute ()
 Call this method to test whether the file or directory entry at the instance's path is executable. Files in the secure store are never executable, some directories can be executable. More...
 
bool CanRead ()
 Call this method to test whether the file or directory entry at the instance's path is readable. Files and directories in the secure store are always readable, so this method only checks for existence. More...
 
bool CanWrite ()
 Call this method to test whether the file or directory entry at the instance's path is writable. Files and directories in the secure store are always writable, so this method only checks for existence. More...
 

Properties

DateTime CreationDate [get]
 Returns the UTC creation date and time of the specified file or directory entry. More...
 
DateTime ModificationDate [get]
 Returns the UTC modification date and time of the specified file or directory entry. More...
 
ulong Size [get]
 Returns the size, in bytes, of the specified file or directory entry. More...
 
string MimeType [get]
 Returns the MIME type of the specified file or directory entry. More...
 

Detailed Description

This interface supplies information about the state of a file or directory entry on the BBD secure file system.

Member Function Documentation

bool BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata.CanExecute ( )

Call this method to test whether the file or directory entry at the instance's path is executable. Files in the secure store are never executable, some directories can be executable.

Returns
false always for file entries, true or false for directory entries.
bool BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata.CanRead ( )

Call this method to test whether the file or directory entry at the instance's path is readable. Files and directories in the secure store are always readable, so this method only checks for existence.

Returns
true, if the instance's path corresponds to a file or directory entry that exists in the secure store, false otherwise.
bool BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata.CanWrite ( )

Call this method to test whether the file or directory entry at the instance's path is writable. Files and directories in the secure store are always writable, so this method only checks for existence.

Returns
true, if the instance's path corresponds to a file or directory entry that exists in the secure store, false otherwise.

Property Documentation

DateTime BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata.CreationDate
get

Returns the UTC creation date and time of the specified file or directory entry.

A DateTime structure set to the creation date and time for the specified file or directory entry or null. For Android this equals ModificationDate.

string BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata.MimeType
get

Returns the MIME type of the specified file or directory entry.

The MIME type associated with file entry extension if specified, generic MIME type otherwise.

DateTime BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata.ModificationDate
get

Returns the UTC modification date and time of the specified file or directory entry.

A DateTime structure set to the modification date and time for the specified file or directory entry or null.

ulong BBDXamarinForms.Common.Interfaces.SecureStorage.IBBDMetadata.Size
get

Returns the size, in bytes, of the specified file or directory entry.

The size for the specified file entry in bytes or null. Zero (0) for directory entry.