#include <mw/lbtsessiontrigger.h>
class CLbtSessionTrigger : public CLbtTriggerEntry |
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() |
virtual IMPORT_C TType | Type() |
Protected Member Functions | |
---|---|
virtual void | DoExternalizeL(RWriteStream &) |
virtual void | DoInternalizeL(RReadStream &) |
Inherited Enumerations | |
---|---|
CLbtTriggerEntry:TAttribute | |
CLbtTriggerEntry:TLbtTriggerState | |
CLbtTriggerEntry:TType |
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.
See also: RLbt
void | DoExternalizeL | ( | RWriteStream & | aStream | ) | const [protected, virtual] |
Reimplemented from CLbtTriggerEntry::DoExternalizeL(RWriteStream &)const
Externalize method that subclass must implement.
Parameter | Description |
---|---|
aStream | Stream to which the object should be externalized. |
void | DoInternalizeL | ( | RReadStream & | aStream | ) | [protected, virtual] |
Reimplemented from CLbtTriggerEntry::DoInternalizeL(RReadStream &)
Internalize method that subclass must implement.
Parameter | Description |
---|---|
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.
Returns: Pointer to the new session trigger entry.
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.
Parameter | Description |
---|---|
aName | The name of the trigger entry. |
aState | The state of trigger entry. |
aRequestorType | Identifies the type of requestor, a service or a contact. |
aRequestorFormat | Determines the type of data held in aRequestorData |
aRequestorData | Requestor data. Can be a telephone number, a URL etc. |
aManagerUi | The UID of the manager UI application. |
aCondition | Pointer to the new trigger condition object. This object takes the ownership of aCondition. |
Returns: Pointer to the new session trigger entry.
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.
Parameter | Description |
---|---|
aName | The name of the trigger entry. |
aState | The state of trigger entry. |
aRequestors | The requestor for the service. This object does not take ownership of aRequestors. |
aManagerUi | The UID of manager UI application. |
aCondition | Pointer to the new trigger condition object. This object takes the ownership of aCondition. |
Returns: Pointer to the new session trigger entry.
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.
Returns: Pointer to the new session trigger entry.
IMPORT_C TType | Type | ( | ) | const [virtual] |
Reimplemented from CLbtTriggerEntry::Type()const
Get the type of the trigger entry, CLbtTriggerEntry::ESession.
Returns: CLbtTriggerEntry::ESession.