NokSync

KaarPoSoft

INokiaContact Interface Reference

import "INokSync.idl";

Inheritance diagram for INokiaContact:

NokiaContact List of all members.

Detailed Description

One contact in the NOKIA phone.

Wrapper around NOKIA's PhonebookAdapterDS3::IContact2


Public Member Functions

void  AddField (in long valueType, in AString stringValue, out long hResult, out long nmpResult)
  Add a field of information from the contact.
long  AmountOfFields (inout long hResult, inout long nmpResult)
  Return number of fields this contact has.
void  DeleteField (in long fieldIndex, out long hResult, out long nmpResult)
  Delete a field of information from the contact.
void  GetField (in long fieldIndex, inout long valueType, out AString stringValue, out long hResult, out long nmpResult)
  Get a field of information from the contact.
ACString  GetLastErrorString ()
  Return description of last error.
long  GetLocation (out long hResult, out long nmpResult)
  Get location of the contact.
void  SetField (in long fieldIndex, in AString stringValue, out long hResult, out long nmpResult)
  Set a field of information from the contact.
double  TimeStamp (inout long hResult, inout long nmpResult)
  Return timestamp of this contact (does not work).

Member Function Documentation

void INokiaContact::AddField ( in long  valueType,
in AString  stringValue,
out long  hResult,
out long  nmpResult  
)

Add a field of information from the contact.

Parameters:
valueType  Input: the type of value in the field (FieldType enumeration)
stringValue  Input: the value of the field
hResult  (see nsresult, hResult and nmpResult in NokSync)
nmpResult  (see nsresult, hResult and nmpResult in NokSync)

long INokiaContact::AmountOfFields ( inout long  hResult,
inout long  nmpResult  
)

Return number of fields this contact has.

Parameters:
hResult  (see nsresult, hResult and nmpResult in NokSync)
nmpResult  (see nsresult, hResult and nmpResult in NokSync)
Returns:
Number of fields

void INokiaContact::DeleteField ( in long  fieldIndex,
out long  hResult,
out long  nmpResult  
)

Delete a field of information from the contact.

Parameters:
fieldIndex  Input: the index of the field to delete
hResult  (see nsresult, hResult and nmpResult in NokSync)
nmpResult  (see nsresult, hResult and nmpResult in NokSync)

void INokiaContact::GetField ( in long  fieldIndex,
inout long  valueType,
out AString  stringValue,
out long  hResult,
out long  nmpResult  
)

Get a field of information from the contact.

Parameters:
fieldIndex  Input: the index of the field to get
valueType  Output: the type of value in the field (FieldType enumeration)
stringValue  Output: the value of the field
hResult  (see nsresult, hResult and nmpResult in NokSync)
nmpResult  (see nsresult, hResult and nmpResult in NokSync)

ACString INokiaContact::GetLastErrorString (  ) 

Return description of last error.

Returns:
ACString

long INokiaContact::GetLocation ( out long  hResult,
out long  nmpResult  
)

Get location of the contact.

Parameters:
hResult  (see nsresult, hResult and nmpResult in NokSync)
nmpResult  (see nsresult, hResult and nmpResult in NokSync)
Returns:
The location

void INokiaContact::SetField ( in long  fieldIndex,
in AString  stringValue,
out long  hResult,
out long  nmpResult  
)

Set a field of information from the contact.

Parameters:
fieldIndex  Input: the index of the field to set
stringValue  Input: the value of the field
hResult  (see nsresult, hResult and nmpResult in NokSync)
nmpResult  (see nsresult, hResult and nmpResult in NokSync)

double INokiaContact::TimeStamp ( inout long  hResult,
inout long  nmpResult  
)

Return timestamp of this contact (does not work).

This does not seem to work, NOKIA phone always returns zero.

Parameters:
hResult  (see nsresult, hResult and nmpResult in NokSync)
nmpResult  (see nsresult, hResult and nmpResult in NokSync)
Returns:
Zero (!)


The documentation for this interface was generated from the following file:

Doxygen.org   SourceForge.net