CEvtEvent Class Reference
class CEvtEvent : public CBase |
Concrete class that encapsulates all the information related for Event.
This class is used to store the detailed information for an event.
evtstorage.lib
- Since
- S60 v9.1
Constructor & Destructor Documentation
CEvtEvent(CEvtEvent &)
Default Copy Constructor.
Member Functions Documentation
Action()
Gets the Action for the Location Events. The Action is defined by the Location EventsUi on Creation. A reference to the object's action is returned.
ConstructL()
void | ConstructL | ( | ) | [private] |
Second phase of the two phase constructor.
Description()
IMPORT_C TPtrC | Description | ( | ) | const |
Gets the Description for the Location Events. The Description is defined by Location EventsUi on Creation. A reference to the object's internal string is returned.
EventId()
Gets the Trigger id, identifying the Location Event. This identifier is definded by Location Triggering Engine.
EventStatus()
Gets the Status of the Location Event. The Status is defined by the Location EventsUi on Creation. Status is updated as and when the Event moves to different state.
HasAction()
IMPORT_C TBool | HasAction | ( | ) | |
Check if Action is assigned to the Event.
- Since
- S60 v9.1 Returns ETrue if action is present Or else EFalse.
Location()
Gets the Location for the Location Events. The Location is defined by the Location EventsUi on Creation. A reference to the object's action is returned.
NewL()
Constructs a new instance of Event.
-
leave
- System wide error code if the object creation fails.
NewLC()
Constructs a new instance of Event Object. Leaves the created instance on the cleanup stack.
-
leave
- System wide error code if the object creation fails.
Place()
IMPORT_C TPtrC | Place | ( | ) | const |
Gets the Place for the Location Events. The Place is defined by the Location EventsUi on Creation. A reference to the object's internal string is returned.
Radius()
IMPORT_C TReal | Radius | ( | ) | const |
Gets the Radius for the Location Events. The Radius is defined by the Location EventsUi on Creation. Radius is defined based on the place.
Repeat()
IMPORT_C TBool | Repeat | ( | ) | const |
Gets the Repeast flag for the Location Event. The Repeast is defined by the Location EventsUi on Creation.
SetActionL(CEvtAction *)
Set the Action for the Location Event. The Action is copied.
- Since
- S60 v9.1
-
leave
- KErrNoMemory If there is not enough memory to copy the string.
Parameters
CEvtAction * aAction | Action for the Location Event. The ownership of Action is transferred to Event. |
SetDescriptionL(const TDesC &)
IMPORT_C void | SetDescriptionL | ( | const TDesC & | aDescription | ) | |
Set the Description String for the Location Event. The Description is copied.
- Since
- S60 v9.1
-
leave
- KErrNoMemory If there is not enough memory to copy the string.
Parameters
const TDesC & aDescription | Description String for the Location Event. The Description string is copied. |
SetEventId(const TEvtEventId)
Set the Trigger id, identifying the Location Event. The identifer is definded by Location Triggering Engine.
Parameters
const TEvtEventId aId | Event identifier identifying the Location Event. |
SetEventStatus(const TEvtEventStatus)
Set the Status for the Location Event.
SetLocationL(TPosition &)
Set the Location for the Location Event.
- Since
- S60 v9.1
-
leave
- KErrNoMemory If there is not enough memory to copy the string.
Parameters
TPosition & aLocation | Location for the Location Event. |
SetPlaceL(const TDesC &)
IMPORT_C void | SetPlaceL | ( | const TDesC & | aPlace | ) | |
Set the Place String for the Location Event. The Place is copied.
- Since
- S60 v9.1
-
leave
- KErrNoMemory If there is not enough memory to copy the string.
Parameters
const TDesC & aPlace | Place String for the Location Event. The Place string is copied. |
SetRadius(const TReal)
IMPORT_C void | SetRadius | ( | const TReal | aRadius | ) | |
Set the Radius for the Location Event.
Parameters
const TReal aRadius | Radius for the Location Event. |
SetRepeat(const TBool)
IMPORT_C void | SetRepeat | ( | const TBool | aRepeat | ) | |
Set the Repeat flag for the Location Event.
SetSubjectL(const TDesC &)
IMPORT_C void | SetSubjectL | ( | const TDesC & | aSubject | ) | |
Set the Subject String for the Location Event. The Subject is copied.
- Since
- S60 v9.1
-
leave
- KErrNoMemory If there is not enough memory to copy the string.
Parameters
const TDesC & aSubject | Subject String for the Location Event. The Subject string is copied. |
Subject()
IMPORT_C TPtrC | Subject | ( | ) | const |
Gets the Subject for the Location Events. The Subject is defined by the Location EventsUi on Creation. A reference to the object's internal string is returned.
Member Data Documentation
HBufC * iDescription
HBufC * | iDescription | [private] |
Event Description. Description for the Location Event. The String is defined by the Location Events Ui.
Owns
TEvtEventId
iEventId
System wide unique identifier identifying the Location Event. This identifier is defined by the Location Triggering Engine.
Owns
TEvtEventStatus
iEventStatus
HBufC * iPlace
Event Place. Place for the Location Event. The String is defined by the Location Events Ui.
Owns
HBufC * iSubject
Event Subject. Subject for the Location Event. The Subject is defined by the Location Events Ui.
Owns
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.