class RPsSession : public RSessionBase |
Client side interface for predictive search server.
Public Member Functions | |
---|---|
RPsSession () | |
void | CancelSearch () |
void | ChangeSortOrderL (const TDes8 &) |
TInt | Connect () |
void | GetAdaptiveGridL (const TDesC8 &, const TBool , TDes &) |
void | GetDataOrderL (const TDes8 &, TPtr8 ) |
void | GetSortOrderL (const TDes8 &, TPtr8 ) |
void | IsLanguageSupportedL (const TDes8 &, TPtr8 ) |
void | SearchL (const TDes8 &, TPtr8 , TRequestStatus &) |
void | SearchL (const TDes8 &, const TDes8 &, TPtr8 ) |
void | SearchMatchStringL (const TDes8 &, const TDes8 &, TDes &) |
void | SendNewBufferL ( TPtr8 , TRequestStatus &) |
void | SetSearchSettingsL (const TDes8 &) |
void | ShutdownServerL () |
TVersion | Version () |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Private Attributes | |
---|---|
TPtr8 | iResultsBufferPtr |
TPtrC8 | iSearchQueryBufferPtr |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
void | ChangeSortOrderL | ( | const TDes8 & | aInput | ) |
ChangeSortOrderL Sends a request to PS server to set the sort order of fields for a data store.
const TDes8 & aInput | Data store + Sort Order values. |
void | GetAdaptiveGridL | ( | const TDesC8 & | aURIs, |
const TBool | aCompanyName, | |||
TDes & | aResultsBuffer | |||
) |
GetAdaptiveGridL This is a support method for Adaptive Search functionality. As Predictive Search Engine is well suited for keeping an maintaining data structures related to contacts and updated according to contacts additions/modifications/deletions, like it is done already in Predictive Search Engine.
void | GetDataOrderL | ( | const TDes8 & | aURI, |
TPtr8 | aResultsBuffer | |||
) |
GetDataOrderL Sends a request to PS server to get the data fields supported for a data store.
void | GetSortOrderL | ( | const TDes8 & | aURI, |
TPtr8 | aResultsBuffer | |||
) |
GetSortOrderL Sends a request to PS server to get the sort order of fields supported for a data store.
void | IsLanguageSupportedL | ( | const TDes8 & | aLanguage, |
TPtr8 | aResultsBuffer | |||
) |
IsLanguageSupportedL Sends a request to PS server to decide if the language variant is supported or not
void | SearchL | ( | const TDes8 & | aSearchQuery, |
TPtr8 | aResultsBuffer, | |||
TRequestStatus & | aStatus | |||
) |
SearchL. Initiates a predictive search request to the server.
const TDes8 & aSearchQuery | The search query. |
TPtr8 aResultsBuffer | Pointer to the initial results buffer. |
TRequestStatus & aStatus | Holds the completion status of request. |
void | SearchL | ( | const TDes8 & | aSearchQuery, |
const TDes8 & | aSearchData, | |||
TPtr8 | aResultsBuffer | |||
) |
SearchL. Initiates a predictive search request to the server.
void | SearchMatchStringL | ( | const TDes8 & | aSearchQuery, |
const TDes8 & | aSearchData, | |||
TDes & | aResultsBuffer | |||
) |
SearchMatchStringL. Initiates a predictive search request to the server with result as string.
void | SendNewBufferL | ( | TPtr8 | aResultsBuffer, |
TRequestStatus & | aStatus | |||
) |
SendNewBufferL. Send a new buffer to server if a overflow occurs.
TPtr8 aResultsBuffer | Pointer to the new results buffer. |
TRequestStatus & aStatus | Holds the completion status of request. |
void | SetSearchSettingsL | ( | const TDes8 & | aSettings | ) |
SetSearchSettingsL. Send the search settings (databases/ display fields) to the server.
const TDes8 & aSettings | The search settings. |
TVersion | Version | ( | ) | const |
Version. Returns the version number of predictive search server
TPtr8 | iResultsBufferPtr | [private] |
iResultsBufferPtr. Pointer to the buffer holding search results
TPtrC8 | iSearchQueryBufferPtr | [private] |
iSearchQueryBufferPtr. Pointer to the buffer holding search query.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.