RMobilePhone::TScFilePathWithAccessOffsets Class Reference

class RMobilePhone::TScFilePathWithAccessOffsets : public RMobilePhone::TScFilePath

Smart card application file identifier and access offsets. This class is used to identify a file and the location in a file to either read or write. Inherits attributes from TScFilePath which provide the parent AID and full path reference.

Modes: Common

TScFilePath ReadScFile() UpdateScFile()

Inherits from

Constructor & Destructor Documentation

TScFilePathWithAccessOffsets()

IMPORT_C TScFilePathWithAccessOffsets ( )

Default constructor.

Member Data Documentation

TUint iCount

TUint iCount

If the file type is ELinearFixed or ECyclic then this is unused. NOTE: A call to ReadScFile or UpdateScFile for a record based file type will only read or update one record as described in TS 102.221 READ RECORD and UPDATE RECORD.

If file type is ETransparent then this is the number of bytes to read or update.

TUint iStartOffset

TUint iStartOffset

If file type is ELinearFixed or ECyclic then this is the starting record index to read or update. This must be less than the number of records in the file.

If file type is ETransparent then this is the offset (in bytes) from the start of the transparent file to read or update. This must be less than the total file size.

TScFileType iType

TScFileType iType

The type of the smart card file. Options are Linear Fixed, Cyclic or Transparent.