In The Hand LtdIn The Hand
TryStart Method (suppressPermissionPrompt, timeout)
NamespacesInTheHand.Device.LocationIGeoPositionWatcher<(Of <(<'T>)>)>TryStart(Boolean, TimeSpan)
.NET Components for Mobility
Start acquiring location data, specifying an initialization timeout. This method returns synchronously.
Declaration Syntax
C#Visual Basic
bool TryStart(
	bool suppressPermissionPrompt,
	TimeSpan timeout
)
Function TryStart ( _
	suppressPermissionPrompt As Boolean, _
	timeout As TimeSpan _
) As Boolean
Parameters
suppressPermissionPrompt (Boolean)
If true, do not prompt the user to enable location providers and only start if location data is already enabled. If false, a dialog box may be displayed to prompt the user to enable location sensors that are disabled.
timeout (TimeSpan)
Time in milliseconds to wait for initialization to complete.
Return Value
true if succeeded, false if timed out.

Assembly: InTheHand.Device (Module: InTheHand.Device) Version: 7.0.0.0