IGeoPositionWatcher<T>.Start Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru