registerLandmarkStore static method
Register an already existing landmark store.
The name parameter will override the landmark store internal creation name. This allows registering landmark stores in order to import data from them
Parameters
- IN name The landmark store name. Must be unique, otherwise GemError.exist.code is returned
- IN path The landmark store path
Returns
- On success the landmark store ID (greater than zero) is returned
- GemError.exist.code if the name already exists
- GemError.notFound.code if the landmark store cannot be found
- GemError.invalidInput.code if the path is not a valid landmark store
Implementation
static int registerLandmarkStore({
required final String name,
required final String path,
}) {
final OperationResult resultString = staticMethod(
'LandmarkStoreService',
'registerLandmarkStore',
args: <String, String>{'name': name, 'path': path},
);
final int res = resultString['result'];
return res;
}