CCchService Class Reference
class CCchService : public CBase
|
CCchService
declaration. CCH service connectivity plug-in API.
-
Since
-
S60 3.2
Public Member Functions
|
|
~CCchService
()
|
void
|
DisableServiceL
(const
TServiceSelection
&)
|
void
|
EnableServiceL
(const
TServiceSelection
&)
|
void
|
EnableServiceL
(const
TServiceSelection
&,
TUint
)
|
TInt
|
FreeService
(const
TServiceSelection
&)
|
TInt
|
GetConnectionParameter
(const
TServiceSelection
&,
TCchConnectionParameter
,
TInt
&)
|
TInt
|
GetConnectionParameter
(const
TServiceSelection
&,
TCchConnectionParameter
,
RBuf
&)
|
void
|
GetServiceInfoL
(const
TServiceSelection
&,
RBuf
&)
|
TInt
|
GetServiceNetworkInfo
(
TServiceConnectionInfo
&)
|
TInt
|
GetServiceState
(const
TServiceSelection
&,
TCCHSubserviceState
&)
|
TBool
|
IsAvailableL
(const
TServiceSelection
&, const
RArray
<
TUint32
> &)
|
TBool
|
IsReserved
(const
TServiceSelection
&)
|
CCchService
*
|
NewL
(
TUid
,
MCchServiceObserver
&)
|
TInt
|
ReserveService
(const
TServiceSelection
&)
|
TInt
|
SetConnectionParameter
(const
TServiceSelection
&,
TCchConnectionParameter
,
TInt
)
|
TInt
|
SetConnectionParameter
(const
TServiceSelection
&,
TCchConnectionParameter
, const
TDesC
&)
|
TInt
|
SetIapId
(const
TServiceSelection
&,
TUint
)
|
TInt
|
SetSnapId
(const
TServiceSelection
&,
TUint
)
|
Constructor & Destructor Documentation
CCchService()
CCchService
|
(
|
)
|
[protected, inline]
|
~CCchService()
~CCchService
|
(
|
)
|
[inline, virtual]
|
Member Functions Documentation
DisableServiceL(const TServiceSelection &)
Client disables service.
-
Since
-
S60 3.2
EnableServiceL(const TServiceSelection &)
Client enables service. CCHService implementation should use MCCHServiceObserver for service state notifications.
-
Since
-
S60 3.2
EnableServiceL(const TServiceSelection &, TUint)
Client enables service. CCHService implementation should use MCCHServiceObserver for service state notifications.
-
Since
-
S60 3.2
FreeService(const TServiceSelection &)
Frees the exclusive service reservation
-
Since
-
S60 3.2
GetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, TInt &)
Returns the connection parameters
-
Since
-
S60 3.2.3
GetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, RBuf &)
Returns the connection parameters
-
Since
-
S60 3.2.3
GetServiceInfoL(const TServiceSelection &, RBuf &)
void
|
GetServiceInfoL
|
(
|
const
TServiceSelection
&
|
aServiceSelection,
|
|
RBuf
&
|
aBuffer
|
|
)
|
const [pure virtual]
|
Get service specifics information about service and protocol
-
Since
-
S60 3.2
GetServiceNetworkInfo(TServiceConnectionInfo &)
Get service network information.
-
Since
-
S60 3.2
Parameters
TServiceConnectionInfo
& aConnectionInfo
|
Selected service, ID and type, used SNAP id (should be set as null if not in use), used IAP id (should be set as null if not in use), SNAP locked indicator
|
GetServiceState(const TServiceSelection &, TCCHSubserviceState &)
Get service state information.
-
Since
-
S60 3.2
IsAvailableL(const TServiceSelection &, const RArray< TUint32 > &)
Client checks is the service available by the IAP id array. CCHService implementation should return ETrue if service is registrable by the (some) IAP, array contains.
-
Since
-
S60 3.2
Parameters
const
TServiceSelection
& aServiceSelection
|
Selected service, ID and type
|
const
RArray
<
TUint32
> & aIapIdArray
|
Id array of the currently available iaps.
|
IsReserved(const TServiceSelection &)
Is the service reserved
-
Since
-
S60 3.2
NewL(TUid, MCchServiceObserver &)
ReserveService(const TServiceSelection &)
Reserves the service for exclusive use
-
Since
-
S60 3.2
SetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, TInt)
Sets the connection parameters
-
Since
-
S60 3.2.3
SetConnectionParameter(const TServiceSelection &, TCchConnectionParameter, const TDesC &)
Sets the connection parameters
-
Since
-
S60 3.2.3
SetIapId(const TServiceSelection &, TUint)
Set IAP id for service.
-
Since
-
S60 3.2
SetSnapId(const TServiceSelection &, TUint)
Set SNAP id for service.
-
Since
-
S60 3.2
Member Data Documentation
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.