Serial port and GPS

OsmDldDelegate Delegate

Called from download() after each map or on error

[Visual Basic]
Public Delegate Function OsmDldDelegate( _
   ByVal i As Integer, _
   ByVal n As Integer, _
   ByVal dldrec As OsmDldRec, _
   ByVal excp As Exception _
) As Boolean
[C#]
public delegate bool OsmDldDelegate(
   int i,
   int n,
   OsmDldRec dldrec,
   Exception excp
);

Parameters

i
sequential number of the downloaded map, may be < 0 if called for a general error.
n
number of all maps to download, may be < 0, if called for a general error.
dldrec
parameters of the downloaded rectangle, minimum and maximum latitude and longitude, name of the file etc.
excp
if not null, then an error occured during download of maps, if null, then called in order to show progress of the regular download process.

Return Value

true, if the download process has to be continued, false in order to break the download process.

Requirements

Namespace: serial

Assembly: map (in map.exe)

See Also

serial Namespace