start abstract method

void start(
  1. String url,
  2. SDKNativeEngine engine,
  3. SslServerCredentialsOptions? serviceCredential,
  4. ServerStartedCallback callback,
)

Exposes map data source as GRPC service on given url for SDKNativeEngine.

The exposed service can be consumed with the help of ExternalMapDataSourceClient.configureRemoteConnectionAsync. It is a non-blocking function, and the result will be returned via a callback. ServerStartedCallback.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • url URL in the 'ip_address:port' format. Address will be used to bind to the GRPC server.

  • engine Instance of an existing SDKNativeEngine.

  • serviceCredential Instance of SslServerCredentialsOptions

  • callback Callback to retrieve an operation status on the main thread.

Implementation

void start(String url, SDKNativeEngine engine, SslServerCredentialsOptions? serviceCredential, ServerStartedCallback callback);