RStarterSession Class Reference

class RStarterSession : public RSessionBase

Client API for Starter server.

?more_complete_description

lib: StarterClient.lib
Since
S60 1.0

Inherits from

Public Member Functions
IMPORT_C TInt ActivateRfForEmergencyCall ()
IMPORT_C TInt Connect ()
IMPORT_C TInt DeactivateRfAfterEmergencyCall ()
IMPORT_C TInt EndSplashScreen ()
IMPORT_C TBool IsRTCTimeValid ()
IMPORT_C void Reset (const TResetReason )
IMPORT_C TInt ResetNetwork ()
IMPORT_C TInt SetState (const TGlobalState )
IMPORT_C void Shutdown ()
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Public Member Enumerations
enum TGlobalState { ENormal  = 100, EAlarm , ECharging , EOffline , EBTSap }
enum TResetReason {
ELanguageSwitchReset  = 100, ENormalRFSReset  = 101, EDeepRFSReset  = 102, EUnknownReset  = 104, EOperatorSettingReset  = 105, ENetworkModeChangeReset  = 106, ESIMStatusChangeReset  = 107, EDRMReset  = 108, EFirmwareUpdate  = 109, EDataRestoreReset  = 110, EFieldTestReset  = 111
}
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

ActivateRfForEmergencyCall()

IMPORT_C TInt ActivateRfForEmergencyCall ( )

Activate RF for making an emergency call. May be called in all global states, but 'normal RF on' state the call has no effect since RF is already activated. After the emergency call has finished, DeactivateRfAfterEmergencyCall should be called.

Connect()

IMPORT_C TInt Connect ( )

Connect to Starter server

DeactivateRfAfterEmergencyCall()

IMPORT_C TInt DeactivateRfAfterEmergencyCall ( )

Deactivate RF after making an emergency call. May only be called after calling ActivateRfForEmergencyCall.

EndSplashScreen()

IMPORT_C TInt EndSplashScreen ( )

If Splash Screen is active, send it a signal to exit.

IsRTCTimeValid()

IMPORT_C TBool IsRTCTimeValid ( )

Check whether RTC time is valid. This function should not be called before critical startup phase is over, and if it is, it will return EFalse.

Reset(const TResetReason)

IMPORT_C void Reset ( const TResetReason aReason )

Execute system reset.

Parameters

const TResetReason aReason Indicates the reason for the reset.

ResetNetwork()

IMPORT_C TInt ResetNetwork ( )

Change state to offline and back to online.

SetState(const TGlobalState)

IMPORT_C TInt SetState ( const TGlobalState aState )

Change global system state.

Parameters

const TGlobalState aState The state to change to.

Shutdown()

IMPORT_C void Shutdown ( )

Execute system shutdown.

Member Enumerations Documentation

Enum TGlobalState

Enumerators

ENormal = 100
EAlarm
ECharging
EOffline
EBTSap

Enum TResetReason

Enumerators

ELanguageSwitchReset = 100
ENormalRFSReset = 101
EDeepRFSReset = 102
EUnknownReset = 104
EOperatorSettingReset = 105
ENetworkModeChangeReset = 106
ESIMStatusChangeReset = 107
EDRMReset = 108
EFirmwareUpdate = 109
EDataRestoreReset = 110
EFieldTestReset = 111