| class RSendAs : public RSessionBase |
Encapsulates a session with the SendAs Server.
This class allows a user to determine the message types available to the SendAs server and also provides functionality for clients to filter this list to find the UIDs required to create messages.
| Public Member Functions | |
|---|---|
| IMPORT_C void | AvailableAccountsL(TUid, CSendAsAccounts &) |
| IMPORT_C TInt | Connect() |
| IMPORT_C TInt | Connect(TInt) |
| IMPORT_C TInt | FilterAgainstCapability(TUid) |
| IMPORT_C TInt | FilterAgainstCapability(TUid, TInt, TSendAsConditionType) |
| IMPORT_C void | FilteredMessageTypesL(CSendAsMessageTypes &) |
| IMPORT_C TInt | ResetMessageFilter() |
| Public Member Enumerations | |
|---|---|
| enum | TSendAsConditionType { ESendAsNoCondition, ESendAsEquals, ESendAsNotEquals, ESendAsGreaterThan, ESendAsLessThan, ESendAsBitwiseAnd, ESendAsBitwiseOr, ESendAsBitwiseNand, ESendAsBitwiseNor } |
| Inherited Enumerations | |
|---|---|
| RHandleBase:TAttributes | |
| RSessionBase:TAttachMode | |
| Private Attributes | |
|---|---|
| TAny * | iAny |
| Inherited Attributes | |
|---|---|
| RHandleBase::iHandle | |
| IMPORT_C void | AvailableAccountsL | ( | TUid | aMessageType, |
| CSendAsAccounts & | aAccounts | |||
| ) | ||||
| TUid aMessageType | |
| CSendAsAccounts & aAccounts |
| IMPORT_C TInt | FilterAgainstCapability | ( | TUid | aMessageCapability | ) |
| TUid aMessageCapability |
| IMPORT_C TInt | FilterAgainstCapability | ( | TUid | aMessageCapability, |
| TInt | aValue, | |||
| TSendAsConditionType | aConditionType | |||
| ) | ||||
| TUid aMessageCapability | |
| TInt aValue | |
| TSendAsConditionType aConditionType |
| IMPORT_C void | FilteredMessageTypesL | ( | CSendAsMessageTypes & | aMessageTypeInfo | ) |
| CSendAsMessageTypes & aMessageTypeInfo |
Defines the condition-checking of message capabilities. These are progressively added to refine the list of available MTMs.
| ESendAsNoCondition |
No MTMs are removed as a result of applying this condition to the filtering. |
| ESendAsEquals |
Only MTMs whose capabilities match the given value will remain as a result of applying this condition to the filtering. |
| ESendAsNotEquals |
Only MTMs whose capabilities do not match the given value will remain as a result of applying this condition to the filtering. |
| ESendAsGreaterThan |
Only MTMs whose capabilities greater than the given value will remain as a result of applying this condition to the filtering. |
| ESendAsLessThan |
Only MTMs whose capabilities less than the given value will remain as a result of applying this condition to the filtering. |
| ESendAsBitwiseAnd |
Only MTMs whose capabilities result non-zero value when bitwise ANDed with the given value will remain as a result of applying this condition to the filtering. |
| ESendAsBitwiseOr |
Only MTMs whose capabilities result non-zero value when bitwise ORed with the given value will remain as a result of applying this condition to the filtering. |
| ESendAsBitwiseNand |
Only MTMs whose capabilities result non-zero value when bitwise NANDed with the given value will remain as a result of applying this condition to the filtering. |
| ESendAsBitwiseNor |
Only MTMs whose capabilities result non-zero value when bitwise NORed with the given value will remain as a result of applying this condition to the filtering. |