class RTelServer : public RSessionBase |
Root telephony server session.
Provides access to general telephony information and functionality. Clients wishing to use the ETel Server must open a connection with the root server using the functions defined in this class. They may then obtain information about loaded TSY modules, and the phones that they support. To access functionality associated with a specific phone, the client must open a sub-session for that phone.
This class is not intended for user derivation.
Public Member Functions | |
---|---|
RTelServer() | |
IMPORT_C TInt | Connect(TInt) |
IMPORT_C TInt | EnumeratePhones(TInt &) |
IMPORT_C TInt | GetPhoneInfo(const TInt, TPhoneInfo &) |
IMPORT_C TInt | GetTsyName(const TInt, TDes &) |
IMPORT_C TInt | GetTsyVersionNumber(const TDesC &, TVersion &) |
IMPORT_C TInt | IsSupportedByModule(const TDesC &, const TInt, TBool &) |
IMPORT_C TInt | LoadPhoneModule(const TDesC &) |
IMPORT_C TInt | SetExtendedErrorGranularity(const TErrorGranularity) |
IMPORT_C TInt | SetPriorityClient() |
IMPORT_C TInt | SetPriorityClientV2() |
IMPORT_C TInt | UnloadPhoneModule(const TDesC &) |
TVersion | Version() |
IMPORT_C TInt | __DbgCheckHeap(TInt) |
IMPORT_C TInt | __DbgFailNext(TInt) |
IMPORT_C TInt | __DbgFailNextAvailable(TBool &) |
IMPORT_C TInt | __DbgMarkEnd(TInt) |
IMPORT_C TInt | __DbgMarkHeap() |
Public Member Enumerations | |
---|---|
enum | TErrorGranularity { EErrorBasic, EErrorExtended } |
enum | TNetworkType { ENetworkTypeWiredAnalog, ENetworkTypeWiredDigital, ENetworkTypeMobileAnalog, ENetworkTypeMobileDigital, ENetworkTypeUnknown } |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C TInt | Connect | ( | TInt | aMessageSlots = KDefaultMessageSlots | ) |
TInt aMessageSlots = KDefaultMessageSlots |
IMPORT_C TInt | EnumeratePhones | ( | TInt & | aNoOfPhones | ) | const |
TInt & aNoOfPhones |
IMPORT_C TInt | GetPhoneInfo | ( | const TInt | aIndex, |
TPhoneInfo & | aInfo | |||
) | const |
const TInt aIndex | |
TPhoneInfo & aInfo |
IMPORT_C TInt | GetTsyName | ( | const TInt | aIndexOfPhone, |
TDes & | aTsyName | |||
) | const |
IMPORT_C TInt | GetTsyVersionNumber | ( | const TDesC & | aTsyName, |
TVersion & | aVersion | |||
) | const |
IMPORT_C TInt | IsSupportedByModule | ( | const TDesC & | aTsyName, |
const TInt | aMixin, | |||
TBool & | aResult | |||
) | const |
IMPORT_C TInt | LoadPhoneModule | ( | const TDesC & | aFileName | ) | const |
const TDesC & aFileName |
IMPORT_C TInt | SetExtendedErrorGranularity | ( | const TErrorGranularity | aGranularity | ) | const |
const TErrorGranularity aGranularity |
IMPORT_C TInt | SetPriorityClient | ( | ) | const |
This function has been deprecated. Use RTelServer::SetPriorityClientV2 followed by RPhone::SetEmergencyClient(EEmergencyCSVoiceCallRequest)
IMPORT_C TInt | UnloadPhoneModule | ( | const TDesC & | aFileName | ) | const |
const TDesC & aFileName |
TVersion | Version | ( | ) | const [inline] |
Gets the version number of the ETel server.
The server version and build numbers.
IMPORT_C TInt | __DbgFailNextAvailable | ( | TBool & | aResult | ) |
TBool & aResult |
Error granularity flags.
EErrorBasic |
Client is only interested in core errors |
EErrorExtended |
Client is interested in extended errors |
Types of telephony connection flags.
ENetworkTypeWiredAnalog |
Wired analog network. |
ENetworkTypeWiredDigital |
Wired digital network (not supported by ETel). |
ENetworkTypeMobileAnalog |
Mobile analog network (not supported by ETel). |
ENetworkTypeMobileDigital |
Mobile digital network. |
ENetworkTypeUnknown |
Unknown network type. |