Bewerken

Delen via


IGeoPositionWatcher<T>.Start Method

Definition

Initiate the acquisition of location data.

Overloads

Start()

Initiate the acquisition of location data.

Start(Boolean)

Start acquiring location data, specifying whether or not to suppress prompting for permissions. This method returns synchronously.

Start()

Initiate the acquisition of location data.

public:
 void Start();
public void Start ();
abstract member Start : unit -> unit
Public Sub Start ()

Applies to

Start(Boolean)

Start acquiring location data, specifying whether or not to suppress prompting for permissions. This method returns synchronously.

public:
 void Start(bool suppressPermissionPrompt);
public void Start (bool suppressPermissionPrompt);
abstract member Start : bool -> unit
Public Sub Start (suppressPermissionPrompt 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.

Applies to