This tutorial explains how to set the mobility policy handler component to reject a newly-available bearer.
Derive a class from the CImMobilityPolicyPlugin class.
Implement the PreferredCarrierAvailable and MigrationComplete functions in the derived CImMobilityPolicyPlugin class to get the required behaviour when a new bearer is available.
When a new bearer is available, the Network bearer mobility framework calls the MMobilityProtocolResp::PreferredCarrierAvailable function to notify the bearer mobility policy manager. This happens only if the bearer mobility policy manager is registered with the PreferredCarrierAvailable (Network bearer mobility framework) for bearer mobility notification.
To reject the newly available bearer should be rejected, call theCImMobilityManager::IgnoreNewCarrier() function on the instance of CImMobilityManager identified in the PreferredCarrierAvailable() function.
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.