C# SDK

◆ AddStopOffPointToHistory()

static int AddStopOffPointToHistory ( out SError  Error,
SHistoryRecord  StopOffPoint,
Int32  MaxTime 
)
inlinestatic

The function adds new item to History list.

Parameters
ErrorAdditional error information returned from Drive.
StopOffPointReference to instance of SHistoryRecord class which contains informations about item to add.
MaxTimeMaximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited.
Returns
1 if successful, other value otherwise.

History list contains recent destinations. To add new item to History list fill in StopOffPoint members and call AddStopOffPointToHistory.

See Coordinates conversion section in TROUBLESHOOTING page.

Possible error codes returned from Drive are:

  • 0 - Function not succeeded.
  • 1 - Function succeeded.
  • 2 - Drive not succeeded.
  • 3 - Function reached timeout.



References SHistoryRecord.SizeOf(), and SError.SizeOf().