CTriggerParams Class Reference

class CTriggerParams : public CBase
This class is used to retrieve the active trigger session information. The required memory for the parameters will be allocated during construction of this class and this class owns the memory allocated. And same will be released when this class is destroyed. The trigger session information includes
  • Notification Present (Yes/No)

  • TriggerNotificationStaus (On/Off)

  • TriggerType (Periodic/Area Event)

  • TriggerParams for Periodic triggering --- OutstandingTriggers (Interger) --- Interval (Integer)

From the abover properties, only following fieds can be changed by SUPL settings client:
  • TriggerNotificationStaus (On/Off)

Inherits from

Constructor & Destructor Documentation

CTriggerParams()

CTriggerParams()[private]

C++ default constructor.

Since
S60 5.2

~CTriggerParams()

IMPORT_C~CTriggerParams()

Destructor.

Since
S60 5.2

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default EPOC constructor is private.

Since
S60 5.2

Get(TInt64 &, TPtr, TBool &, TBool &, TTriggerType &, TRequestType &, TUint64 &, TUint64 &)

IMPORT_C TIntGet(TInt64 &aSessionId,
TPtraSessionName,
TBool &aNotificationPresent,
TBool &aTriggerNotificationStatus,
TTriggerType &aTriggerType,
TRequestType &aRequestType,
TUint64 &aOutstandingTrigger,
TUint64 &aInterval
)const

Returns trigger parameters.

Since
S60 5.2

Parameters

TInt64 & aSessionId
TPtr aSessionName
TBool & aNotificationPresent
TBool & aTriggerNotificationStatus
TTriggerType & aTriggerType
TRequestType & aRequestType
TUint64 & aOutstandingTrigger
TUint64 & aInterval

NewL()

IMPORT_C CTriggerParams *NewL()[static]

Two-phased constructor.

Since
S60 5.2

NewLC()

IMPORT_C CTriggerParams *NewLC()[static]

Two-phased constructor.

Since
S60 5.2

Set(TInt64, const TDesC &, TBool, TBool, TTriggerType, TRequestType, TUint64, TUint64)

IMPORT_C TIntSet(TInt64aSessionId,
const TDesC &aSessionName,
TBoolaNotificationPresent,
TBoolaTriggerNotificationStatus,
TTriggerTypeaTriggerType,
TRequestTypeaRequestType,
TUint64aOutstandingTrigger,
TUint64aInterval
)

Sets trigger parameters.

Since
S60 5.2

Parameters

TInt64 aSessionId
const TDesC & aSessionName
TBool aNotificationPresent
TBool aTriggerNotificationStatus
TTriggerType aTriggerType
TRequestType aRequestType
TUint64 aOutstandingTrigger
TUint64 aInterval

Member Enumerations Documentation

Enum TRequestType

Enumeration to indicate request type.

Since
S60 5.2

Enumerators

EUnSpecified = -1

Not specified

ENetworkInitiated = 0

Network Initiated

ETerminalInitiated

Terminal Initiated

Enum TTriggerType

Enumeration to indicate trigger type.

Since
S60 5.2

Enumerators

EUnknown = -1

Unknown

EPeriodic = 0

Periodic trigger

EAreaEvent

Area Event trigger

Member Data Documentation

TUint64 iInterval

TUint64 iInterval[private]

TBool iIsValueSet

TBool iIsValueSet[private]

TBool iNotificationPresent

TBool iNotificationPresent[private]

TUint64 iOutstandingTrigger

TUint64 iOutstandingTrigger[private]

TRequestType iRequestType

TRequestType iRequestType[private]

TInt64 iSessionId

TInt64 iSessionId[private]

HBufC * iSessionName

HBufC *iSessionName[private]

TBool iTriggerNotificationStatus

TBool iTriggerNotificationStatus[private]

TTriggerType iTriggerType

TTriggerType iTriggerType[private]