Share via


Geolocation.StopListeningForeground Method

Definition

Stop listening for location updates when the app is in the foreground. Has no effect when not listening and IsListeningForeground is currently false.

public:
 static void StopListeningForeground();
public static void StopListeningForeground ();
static member StopListeningForeground : unit -> unit
Public Shared Sub StopListeningForeground ()

Applies to