addMap
Adds previously serialized map data to the map storage.
Declaration
func addMap(map: NSDKBuffer) throws
Summary
Throws
NSDKError.invalidArgumentorNSDKError.nullArgumentindicating a problem with themapargument . Check NSDK's C logs for more information.
Parameters
| Name | Type | Summary |
|---|---|---|
| map | NSDKBuffer | The serialized map data to add. It should be encoded as a DeviceMap protobuf and can be obtained from mapData(), mapUpdate(),or mergeMapUpdate(existingMap:mapUpdate:). |
Adds previously serialized map data to the map storage.