diff options
author | Andrey Oleynik <aoleynik@luxoft.com> | 2016-11-24 18:51:18 +0200 |
---|---|---|
committer | Alexander Kutsan <AKutsan@luxoft.com> | 2016-12-05 09:33:20 +0200 |
commit | d9ad3d3a7dd390732902c5d1f338658e0d4265bd (patch) | |
tree | 3c96ed78cda459cea78c43a42108098441adc1b6 /src/components/policy/policy_external/doc/doxygen/components/TransportManager/Client Specification/DeviceManagement.txt | |
parent | b55ab1586c2b88dff306d1f07dadb4b861a53e97 (diff) | |
download | sdl_core-d9ad3d3a7dd390732902c5d1f338658e0d4265bd.tar.gz |
Renames policy_premium folder to policy_external
Diffstat (limited to 'src/components/policy/policy_external/doc/doxygen/components/TransportManager/Client Specification/DeviceManagement.txt')
-rw-r--r-- | src/components/policy/policy_external/doc/doxygen/components/TransportManager/Client Specification/DeviceManagement.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/policy/policy_external/doc/doxygen/components/TransportManager/Client Specification/DeviceManagement.txt b/src/components/policy/policy_external/doc/doxygen/components/TransportManager/Client Specification/DeviceManagement.txt new file mode 100644 index 0000000000..eb5f3e477e --- /dev/null +++ b/src/components/policy/policy_external/doc/doxygen/components/TransportManager/Client Specification/DeviceManagement.txt @@ -0,0 +1,14 @@ +/** @page components_transportmanager_client_device_management Device Management + * + * As all requests to TransportManager are asynchronous, client must implement NsSmartDeviceLink::NsTransportManager::ITransportManagerDeviceListener + * interface and add itself as a device listener with NsSmartDeviceLink::NsTransportManager::ITransportManager::addDeviceListener() + * in order to receive notifications. + * Client of TransportManager may use NsSmartDeviceLink::NsTransportManager::ITransportManager::scanForNewDevices() + * to initiate device scan on all device adapters that support this feature. In order to get list of available + * devices client must override NsSmartDeviceLink::NsTransportManager::ITransportManagerDeviceListener::onDeviceListUpdated(). + * Each device adapter will perform scan independently from other device adapters and device list might be updated + * several times (after each adapter that supports scanning finishes scanning operation). Device list might also be + * updated without device scan request, e.g. if new client connects via TCP this device will be added to device list + * and update notification will be sent to client. In any of these cases client will be provided with the full + * device list from all device adapters in every notification. + */ |