This topic shows you how to create a new instance of the Bluetooth GPS PSY Configuration API.
To start using the Bluetooth GPS PSY Configuration API, the client application must first create a new instance of the API. Note that the client must have the LocalServices capability to do this.
When creating a new instance, the client can request to receive update notifications about changes to the list by implementing the MLbsBtGpsConfigObserver observer class. The client can use these update notifications to refresh its own copy of the list.
// Create a new instance of the API // that implements the observer interface iConfig = CLbsBtGpsConfig::NewL(*this);This step returns a newly constructed CLbsBtGpsConfig object. If the client does not have the required capabilities, KErrPermissionDenied is returned.
A new instance of the Bluetooth GPS PSY Configuration API is created.
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.