ToiStorageFile Interface Reference


Description

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";

List of all members.

Public Member Functions

string getUri ()
TToiStorageFileType getType ()
void releaseInstance ()

Public Attributes

TToiStorageFileType

const TToiStorageFileType FILE_TYPE_TEMPORARY = 0

Public Types

typedef long TToiStorageFileType

Member Typedef Documentation

The different kind of filetypes that exist.


Member Function Documentation

TToiStorageFileType ToiStorageFile::getType (  ) 

Gets the type of the file.

Return values:
fileType Type of the file.
string ToiStorageFile::getUri (  ) 

Gets the URI of a file

Return values:
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.


Member Data Documentation

Temporary file that will be removed after reboot.

This constant can also be accessed from toi.consts.ToiStorageFile.FILE_TYPE_TEMPORARY.