The function deletes custom POI from custom category.
Error | Additional error information returned from Drive. |
Poi | Reference to instance of SPoi class which contains POI to delete. |
MaxTime | Maximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited. |
It is necessary to fill Location and Name members of Poi (see SPoi class). DeletePoi function deletes just item which has same value of Location and Name like taken Poi.
Possible error codes returned from Drive are:
References SPoi.SizeOf(), and SError.SizeOf().