LocationTools.UpdateLocation

Syntax:

UpdateLocation(<ProviderName>, <Timeout>)

Parameters:

<ProviderName> (required)

Type: String.
Contains the provider name.

<Timeout> (optional)

Type: Number.
Specifies the waiting time for response from the provider (in seconds).
0 - do not set the time out (the waiting time is not limited).

Returned value:

Type: Boolean.
False - the response of the prvider was not received for the specified time.

Description:

Attempts to get the actual location from the provider.

Availability:

Mobile application (client).

    

1C:Enterprise Developer's Community