class CLbtSessionTrigger : public CLbtTriggerEntry |
Concrete class representing session trigger entries.
Session triggers are not stored in persistent storage. They are deleted by Location Triggering Server if the client application's subsession to the server is closed or if the client calls RLbt::DeleteTriggerL() .
Client application shall make request to Location Triggering Server to receive session trigger firing event.
RLbt lbt.lib
Public Member Functions | |
---|---|
~CLbtSessionTrigger () | |
IMPORT_C CLbtSessionTrigger * | NewL () |
IMPORT_C CLbtSessionTrigger * | NewL (const TDesC &, TLbtTriggerState , CRequestor::TRequestorType , CRequestor::TRequestorFormat , const TDesC &, TUid , CLbtTriggerConditionBase *) |
IMPORT_C CLbtSessionTrigger * | NewL (const TDesC &, TLbtTriggerState , const RRequestorStack &, TUid , CLbtTriggerConditionBase *) |
IMPORT_C CLbtSessionTrigger * | NewLC () |
IMPORT_C TType | Type () |
Protected Member Functions | |
---|---|
void | DoExternalizeL ( RWriteStream &) |
void | DoInternalizeL ( RReadStream &) |
Private Member Functions | |
---|---|
CLbtSessionTrigger () | |
CLbtSessionTrigger ( CLbtSessionTrigger &) | |
void | ConstructL (const TDesC &, TLbtTriggerState , CRequestor::TRequestorType , CRequestor::TRequestorFormat , const TDesC &, TUid , CLbtTriggerConditionBase *) |
void | ConstructL (const TDesC &, CLbtTriggerEntry::TLbtTriggerState , const RRequestorStack &, TUid , CLbtTriggerConditionBase *) |
void | ConstructL () |
CLbtSessionTrigger & | operator= (const CLbtSessionTrigger &) |
Inherited Enumerations | |
---|---|
CLbtTriggerEntry:TAttribute | |
CLbtTriggerEntry:TLbtTriggerState | |
CLbtTriggerEntry:TType |
CLbtSessionTrigger | ( | CLbtSessionTrigger & | aEntry | ) | [private] |
By default, prohibit copy constructor
CLbtSessionTrigger & aEntry |
void | ConstructL | ( | const TDesC & | aName, |
TLbtTriggerState | aState, | |||
CRequestor::TRequestorType | aRequestorType, | |||
CRequestor::TRequestorFormat | aRequestorFormat, | |||
const TDesC & | aRequestorData, | |||
TUid | aManagerUi, | |||
CLbtTriggerConditionBase * | aCondition | |||
) | [private] |
Symbian 2nd phase constructor.
const TDesC & aName | The name of the trigger entry. |
TLbtTriggerState aState | The state of trigger entry. |
CRequestor::TRequestorType aRequestorType | Identifies the type of requestor, a service or a contact. |
CRequestor::TRequestorFormat aRequestorFormat | Determines the type of data held in aRequestorData |
const TDesC & aRequestorData | Requestor data. Can be a telephone number, a URL etc. |
TUid aManagerUi | The UID of the manager UI application. |
CLbtTriggerConditionBase * aCondition | Pointer to the new trigger condition object. |
void | ConstructL | ( | const TDesC & | aName, |
CLbtTriggerEntry::TLbtTriggerState | aState, | |||
const RRequestorStack & | aRequestors, | |||
TUid | aManagerUi, | |||
CLbtTriggerConditionBase * | aCondition | |||
) | [private] |
Symbian 2nd phase constructor.
const TDesC & aName | The name of the trigger entry. |
CLbtTriggerEntry::TLbtTriggerState aState | The state of trigger entry. |
const RRequestorStack & aRequestors | |
TUid aManagerUi | The UID of manager UI application. |
CLbtTriggerConditionBase * aCondition | Pointer to the new trigger condition object. |
void | DoExternalizeL | ( | RWriteStream & | aStream | ) | const [protected, virtual] |
Externalize method that subclass must implement.
RWriteStream & aStream | Stream to which the object should be externalized. |
void | DoInternalizeL | ( | RReadStream & | aStream | ) | [protected, virtual] |
Internalize method that subclass must implement.
RReadStream & aStream | Stream from which the object should be internalized. |
IMPORT_C CLbtSessionTrigger * | NewL | ( | ) | [static] |
Allocates and constructs a new session trigger entry.
Trigger Id is KLbtNullTriggerId.
Trigger Name is an empty string.
Trigger State is CLbtTriggerEntry::EStateEnabled .
Requestors are not set.
Manager UI is not set(KNullUid).
Trigger condition is not set.
IMPORT_C CLbtSessionTrigger * | NewL | ( | const TDesC & | aName, |
TLbtTriggerState | aState, | |||
CRequestor::TRequestorType | aRequestorType, | |||
CRequestor::TRequestorFormat | aRequestorFormat, | |||
const TDesC & | aRequestorData, | |||
TUid | aManagerUi, | |||
CLbtTriggerConditionBase * | aCondition | |||
) | [static] |
Allocates and constructs a new session trigger entry with specified attribute values.
const TDesC & aName | The name of the trigger entry. |
TLbtTriggerState aState | The state of trigger entry. |
CRequestor::TRequestorType aRequestorType | Identifies the type of requestor, a service or a contact. |
CRequestor::TRequestorFormat aRequestorFormat | Determines the type of data held in aRequestorData |
const TDesC & aRequestorData | Requestor data. Can be a telephone number, a URL etc. |
TUid aManagerUi | The UID of the manager UI application. |
CLbtTriggerConditionBase * aCondition | Pointer to the new trigger condition object. This object takes the ownership of aCondition. |
IMPORT_C CLbtSessionTrigger * | NewL | ( | const TDesC & | aName, |
TLbtTriggerState | aState, | |||
const RRequestorStack & | aRequestors, | |||
TUid | aManagerUi, | |||
CLbtTriggerConditionBase * | aCondition | |||
) | [static] |
Allocates and constructs a new session trigger entry with specified attribute values.
const TDesC & aName | The name of the trigger entry. |
TLbtTriggerState aState | The state of trigger entry. |
const RRequestorStack & aRequestors | The requestor for the service. This object does not take ownership of aRequestors. |
TUid aManagerUi | The UID of manager UI application. |
CLbtTriggerConditionBase * aCondition | Pointer to the new trigger condition object. This object takes the ownership of aCondition. |
IMPORT_C CLbtSessionTrigger * | NewLC | ( | ) | [static] |
Allocates and constructs a new session trigger entry. The constructed object is pushed onto cleanup stack.
Trigger Id is KLbtNullTriggerId.
Trigger Name is an empty string.
Trigger State is CLbtTriggerEntry::EStateEnabled .
Requestors are not set.
Manager UI is not set(KNullUid).
Trigger condition is not set.
IMPORT_C TType | Type | ( | ) | const [virtual] |
Get the type of the trigger entry, CLbtTriggerEntry::ESession.
CLbtSessionTrigger & | operator= | ( | const CLbtSessionTrigger & | ) | [private] |
Prohibit assigment operator
const CLbtSessionTrigger & |
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.