ESock::TAvailabilitySubscriptionOptions Struct Reference
struct ESock::TAvailabilitySubscriptionOptions |
Collection of options used to register to availability notifications
Constructor & Destructor Documentation
TAvailabilitySubscriptionOptions(TBool, TUint, TUint, TUint, TUint)
TAvailabilitySubscriptionOptions | ( | TBool | aAnyChange = ETrue, |
| TUint | aScoreExceeds = 0, |
| TUint | aScoreDropsBelow = 0, |
| TUint | aScoreIncreasesByMoreThan = 0, |
| TUint | aScoreDecreasesByMoreThan = 0 |
| ) | [inline] |
Parameters
TBool aAnyChange = ETrue | If ETrue, notify on all changes in the calculated availability. If EFalse, use following parameters to decide what to notify on. |
TUint aScoreExceeds = 0 | Notify if availability score exceeds this |
TUint aScoreDropsBelow = 0 | Notify if availability score drops below this |
TUint aScoreIncreasesByMoreThan = 0 | Notify if availability score increased by more than this |
TUint aScoreDecreasesByMoreThan = 0 | |
TAvailabilitySubscriptionOptions(TChangeScopeFlags)
Member Functions Documentation
IsChangeSignificant(const TAvailabilityStatus &, const TAvailabilityStatus &)
ShouldNotifyAnyChange(const TAvailabilityStatus &, const TAvailabilityStatus &)
ShouldNotifyScoreDecreasesByMoreThan(const TAvailabilityStatus &, const TAvailabilityStatus &)
ShouldNotifyScoreDropsBelow(const TAvailabilityStatus &, const TAvailabilityStatus &)
ShouldNotifyScoreExceeds(const TAvailabilityStatus &, const TAvailabilityStatus &)
ShouldNotifyScoreIncreasesByMoreThan(const TAvailabilityStatus &, const TAvailabilityStatus &)
Member Enumerations Documentation
Enum TChangeScopeFlags
Subscription option flags: ENotAnyChange - the client is specifying availability score thresholds he wishes to be notified on crossing; EAnyChange - the client is interestes in any change in the availability. Only change in calculated score will be reported. EAnyNestedChamge - the client is interested in any change in the availability even if it does not affect the calculated score e.g.: one of many available access points ceases to be available (and doesn't affect the score calculated against the remaning access points)
Enumerators
ENotAnyChange = 0 | |
EAnyChange | |
EAnyNestedChange | |
Member Data Documentation
TUint
iScoreDecreasesByMoreThan
TUint
| iScoreDecreasesByMoreThan | [private] |
TUint
iScoreDropsBelow
TUint
| iScoreDropsBelow | [private] |
TUint
iScoreExceeds
TUint
| iScoreExceeds | [private] |
TUint
iScoreIncreasesByMoreThan
TUint
| iScoreIncreasesByMoreThan | [private] |
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.