MobileForms Toolkit Documentation

GpsDevice.WaitForLocation Method 

Suspends the calling thread until the new location will be known or the timeout expires.

public bool WaitForLocation(
int timeout
);

Parameters

timeout
The time, in miliseconds, after which the function stops waiting for the new position and returns the value false.

Return Value

true, if the new Position value was found; false if the timeout expired and there was no position found.

See Also

GpsDevice Class | Resco.Location.GPS Namespace