configureRemoteConnectionAsync abstract method
- String url,
- SDKNativeEngine engine,
- SslClientCredentialsOptions? credentials,
- ConfigureConnectionCallback callback,
Initialize SDKNativeEngine with URL of the remote map data source gRPC server.
Newly injected map data source replaces exiting one if SDKNativeEngine was already connected. Suggested configuration is taken from SDKOptions.catalogConfigurations, actual catalog versions are queried from the remote connection in order to be in sync. It is a non-blocking function, and the result will be returned via a callback ConfigureConnectionCallback.
-
urlURL to connect with the remote map data source gRPC server. The remote map data source gRPC server could be self managed service created with help OCM Access Manager (OCM AM) or service exposed using ExternalMapDataSourceServer.start -
engineInstance of an existing SDKNativeEngine. -
credentialsInstance of SslClientCredentialsOptions -
callbackCallback to retrieve an operation status on the main thread.
Returns TaskHandle. Handle that will be used to manipulate the execution of the task, for example, to cancel on ongoing request.
NOTE: Cancelation functionality has not implemented yet!
Implementation
TaskHandle configureRemoteConnectionAsync(String url, SDKNativeEngine engine, SslClientCredentialsOptions? credentials, ConfigureConnectionCallback callback);