CSendingServiceInfo Class Reference

API published in: S60 3rd Ed

Link against: sendui.lib

Capability Information

Required Capabilities

LocalServices NetworkServices ReadDeviceData ReadUserData WriteDeviceData WriteUserData

Exceptions

The capability DRM is required in:

EXPORT_C void CSendUi::CreateAndSendMessageL( TUid aServiceUid, const CMessageData* aMessageData, TUid aBioTypeUid, TBool aLaunchEditorEmbedded )

...and...

EXPORT_C void CSendUi::ShowQueryAndSendL( const CMessageData* aMessageData, TSendingCapabilities aRequiredCapabilities, CArrayFix<TUid>* aServicesToDim, TUid aBioTypeUid, TBool aLaunchEditorEmbedded, const TDesC& aTitleText )

...and...

EXPORT_C void CSendUi::ShowTypedQueryAndSendL( TSendUiMenuType aMenuType, const CMessageData* aMessageData, TSendingCapabilities aRequiredCapabilities, CArrayFix<TUid>* aServicesToDim, TUid aBioTypeUid, TBool aLaunchEditorEmbedded, const TDesC& aTitleText )

...when the Send UI client is sending DRM protected files over MMS.


#include <
csendingserviceinfo.h>

Detailed Description

Encapsulates the ECom plugged sending service data.

Public Types

enum  TServiceFeatures { EServiceInValid = 1, EServiceHidden = 2, EServiceCanSendDirectly = 4, ENotUsed3 = 8 }

Public Member Functions

virtual IMPORT_C ~CSendingServiceInfo ()
 Destructor.
IMPORT_C CSendingServiceInfoCopyLC () const
 Creates a copy of CSendingServiceInfo object.
IMPORT_C void SetServiceNameL (const TDesC &aServiceName)
 Set service human readable name.
IMPORT_C const TPtrC ServiceName () const
 Returns service human readable name.
IMPORT_C void SetServiceMenuNameL (const TDesC &aServiceMenuName)
 Set service human readable name for the "Send"-menu.
IMPORT_C const TPtrC ServiceMenuName () const
 Returns service human readable name for the "Send"-menu.
IMPORT_C void SetServiceAddressL (const TDesC &aServiceAddress)
 Set service address.
IMPORT_C const TPtrC ServiceAddress () const
 Returns service address.
IMPORT_C void SetServiceId (TUid aServiceId)
 Set sending service id.
IMPORT_C TUid ServiceId () const
 Returns sending service id.
IMPORT_C void SetServiceProviderId (TUid aServiceProviderId)
 Set sending service provider id.
IMPORT_C TUid ServiceProviderId () const
 Returns sending service provider id.
IMPORT_C void SetTechnologyTypeId (TUid aTechnologyType)
 Returns sending service technology type id.
IMPORT_C TUid TechnologyTypeId () const
 Returns sending service technology type id.
IMPORT_C void SetServiceCapabilities (TSendingCapabilities aServiceCapabilities)
 Set service sending capabilities.
IMPORT_C TSendingCapabilities ServiceCapabilities () const
 Returns service sending capabilities.
IMPORT_C void SetServiceFeatures (TInt aServiceFeatures)
 Set sending service features.
IMPORT_C TInt ServiceFeatures () const
 Returns service features.

Static Public Member Functions

static IMPORT_C CSendingServiceInfoNewL ()
 Two-phased constructor.
static IMPORT_C CSendingServiceInfoNewLC ()
 Two-phased constructor.

Member Enumeration Documentation

enum CSendingServiceInfo::TServiceFeatures
 
Enumerator:
EServiceInValid 
EServiceHidden 
EServiceCanSendDirectly 
ENotUsed3 

Constructor & Destructor Documentation

virtual IMPORT_C CSendingServiceInfo::~CSendingServiceInfo  )  [virtual]
 

Destructor.


Member Function Documentation

IMPORT_C CSendingServiceInfo* CSendingServiceInfo::CopyLC  )  const
 

Creates a copy of CSendingServiceInfo object.

Returns:
A pointer to the new copy of the CSendingServiceInfo object.
static IMPORT_C CSendingServiceInfo* CSendingServiceInfo::NewL  )  [static]
 

Two-phased constructor.

Returns:
Pointer to object of CSendingServiceInfo.
static IMPORT_C CSendingServiceInfo* CSendingServiceInfo::NewLC  )  [static]
 

Two-phased constructor.

Returns:
Pointer to object of CSendingServiceInfo.
IMPORT_C const TPtrC CSendingServiceInfo::ServiceAddress  )  const
 

Returns service address.

Returns:
Service address.
IMPORT_C TSendingCapabilities CSendingServiceInfo::ServiceCapabilities  )  const
 

Returns service sending capabilities.

Returns:
Service sending capabilities.
IMPORT_C TInt CSendingServiceInfo::ServiceFeatures  )  const
 

Returns service features.

Returns:
Sending service features.
IMPORT_C TUid CSendingServiceInfo::ServiceId  )  const
 

Returns sending service id.

Returns:
Service id.
IMPORT_C const TPtrC CSendingServiceInfo::ServiceMenuName  )  const
 

Returns service human readable name for the "Send"-menu.

Returns:
Service human readable name for the "Send"-menu.
IMPORT_C const TPtrC CSendingServiceInfo::ServiceName  )  const
 

Returns service human readable name.

Service name is used in editors "To"-field.

Returns:
Service human readable name.
IMPORT_C TUid CSendingServiceInfo::ServiceProviderId  )  const
 

Returns sending service provider id.

Returns:
Service provider id.
IMPORT_C void CSendingServiceInfo::SetServiceAddressL const TDesC &  aServiceAddress  ) 
 

Set service address.

Parameters:
aServiceAddress Service address.
Returns:
None.
IMPORT_C void CSendingServiceInfo::SetServiceCapabilities TSendingCapabilities  aServiceCapabilities  ) 
 

Set service sending capabilities.

Parameters:
aServiceCapabilities Service sending capabilities.
Returns:
None.
IMPORT_C void CSendingServiceInfo::SetServiceFeatures TInt  aServiceFeatures  ) 
 

Set sending service features.

Parameters:
aServiceCapabilities Sending service features.
Returns:
None.
IMPORT_C void CSendingServiceInfo::SetServiceId TUid  aServiceId  ) 
 

Set sending service id.

Parameters:
aServiceId Service id.
Returns:
None.
IMPORT_C void CSendingServiceInfo::SetServiceMenuNameL const TDesC &  aServiceMenuName  ) 
 

Set service human readable name for the "Send"-menu.

Parameters:
aServiceMenuName Service human readable name for the "Send"-menu.
Returns:
None.
IMPORT_C void CSendingServiceInfo::SetServiceNameL const TDesC &  aServiceName  ) 
 

Set service human readable name.

Service name is used in editors "To"-field.

Parameters:
aServiceName Service human readable name.
Returns:
None.
IMPORT_C void CSendingServiceInfo::SetServiceProviderId TUid  aServiceProviderId  ) 
 

Set sending service provider id.

Parameters:
aServiceProviderId Service provider id.
Returns:
None.
IMPORT_C void CSendingServiceInfo::SetTechnologyTypeId TUid  aTechnologyType  ) 
 

Returns sending service technology type id.

Returns:
Service id.
IMPORT_C TUid CSendingServiceInfo::TechnologyTypeId  )  const
 

Returns sending service technology type id.

Returns:
Service id.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top