The ToiStorageFile interface provides access to files created and stored on accessible storage devices. This interface is primarily intended for applications that do not have direct access to the file system (portal applications). This interface can then be used together with portal application support to download files to local hard drive and import them into the Asset Manager Service.
import "ToiStorageFile.idl";
Public Member Functions | |
string | getUri () |
TToiStorageFileType | getType () |
void | releaseInstance () |
Public Attributes | |
TToiStorageFileType | |
const TToiStorageFileType | FILE_TYPE_TEMPORARY = 0 |
Public Types | |
typedef long | TToiStorageFileType |
typedef long ToiStorageFile::TToiStorageFileType |
The different kind of filetypes that exist.
TToiStorageFileType ToiStorageFile::getType | ( | ) |
Gets the type of the file.
fileType | Type of the file. |
string ToiStorageFile::getUri | ( | ) |
Gets the URI of a file
uri | The path/location of a file |
void ToiStorageFile::releaseInstance | ( | ) |
This function releases the resources used by this instance. Any temporary files will be deleted.
Temporary file that will be removed after reboot.
This constant can also be accessed from toi.consts.ToiStorageFile.FILE_TYPE_TEMPORARY.