IToiStorageFile Interface Reference


Description

The IToiStorageFile 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 "IToiStorageFile.idl";

List of all members.

Public Member Functions

void GetUri (out string uri)
void GetType (out TToiStorageFileType fileType)
void ReleaseInstance ()

Public Types

enum  TToiStorageFileType { FILE_TYPE_TEMPORARY }

Member Enumeration Documentation

The different kind of filetypes that exist.

Enumerator:
FILE_TYPE_TEMPORARY 

Temporary file that will be removed after reboot.


Member Function Documentation

void IToiStorageFile::GetType ( out TToiStorageFileType  fileType  ) 

Gets the type of the file.

Return values:
fileType Type of the file.
void IToiStorageFile::GetUri ( out string  uri  ) 

Gets the URI of a file

Return values:
uri The path/location of a file
void IToiStorageFile::ReleaseInstance (  ) 

This function releases the resources used by this instance. Any temporary files will be deleted.