|
Maps SDK for C++ 1.0.0
|
Network access customization. More...
Public Member Functions | |
| virtual void | setListener (INetworkListener *listener)=0 |
| Sets the network listener. | |
| virtual int | connect ()=0 |
| Request network connection. | |
| virtual int | disconnect ()=0 |
| Disconnect the network if connected. | |
| virtual void | connectionError (const String &host) |
| Connection error notification. | |
| virtual String | getPublicIp () |
| Get public Ip from. | |
Network access customization.
|
pure virtual |
Request network connection.
When the request execution finishes, the INetworkListener::OnConnectFinished is called.
|
inlinevirtual |
Connection error notification.
Possible causes: network down, application doesn't permit to access the network
| [in] | host | Host name which cannot be reached |
|
pure virtual |
Disconnect the network if connected.
No notification is provided.
|
inlinevirtual |
Get public Ip from.
This information is useful when the SDK sends a connection exception debug info. If user considers this info as private, then this function should not be implemented/overridden
|
pure virtual |
Sets the network listener.
| listener | The listener to set. |