getCountryMapCoverage static method

MapCoverage getCountryMapCoverage(
  1. String code
)

Get the map coverage for the country specified by ISO 3166-1 alpha-3 country code.

This function checks the map coverage status using only the information available on the device. No server connection is performed. This check is performed fast

Parameters

  • IN code ISO 3166-1 alpha-3 country code

Returns

Throws

  • An exception if it fails.

Implementation

static MapCoverage getCountryMapCoverage(final String code) {
  final OperationResult resultString = objectMethod(
    0,
    'MapDetails',
    'getCountryMapCoverage',
    args: code,
  );

  return MapCoverageExtension.fromId(resultString['result']);
}