Udostępnij za pośrednictwem


GeolocationRequest Konstruktory

Definicja

Przeciążenia

GeolocationRequest()

Inicjuje GeolocationRequest nowe wystąpienie klasy z opcjami domyślnymi.

GeolocationRequest(GeolocationAccuracy)

Inicjuje GeolocationRequest nowe wystąpienie klasy z określoną dokładnością.

GeolocationRequest(GeolocationAccuracy, TimeSpan)

Inicjuje GeolocationRequest nowe wystąpienie klasy z określoną dokładnością i przekroczeniem limitu czasu.

GeolocationRequest()

Źródło:
GeolocationRequest.shared.cs
Źródło:
GeolocationRequest.shared.cs

Inicjuje GeolocationRequest nowe wystąpienie klasy z opcjami domyślnymi.

public:
 GeolocationRequest();
public GeolocationRequest ();
Public Sub New ()

Dotyczy

GeolocationRequest(GeolocationAccuracy)

Źródło:
GeolocationRequest.shared.cs
Źródło:
GeolocationRequest.shared.cs

Inicjuje GeolocationRequest nowe wystąpienie klasy z określoną dokładnością.

public:
 GeolocationRequest(Microsoft::Maui::Devices::Sensors::GeolocationAccuracy accuracy);
public GeolocationRequest (Microsoft.Maui.Devices.Sensors.GeolocationAccuracy accuracy);
new Microsoft.Maui.Devices.Sensors.GeolocationRequest : Microsoft.Maui.Devices.Sensors.GeolocationAccuracy -> Microsoft.Maui.Devices.Sensors.GeolocationRequest
Public Sub New (accuracy As GeolocationAccuracy)

Parametry

accuracy
GeolocationAccuracy

Żądana dokładność określania lokalizacji.

Dotyczy

GeolocationRequest(GeolocationAccuracy, TimeSpan)

Źródło:
GeolocationRequest.shared.cs
Źródło:
GeolocationRequest.shared.cs

Inicjuje GeolocationRequest nowe wystąpienie klasy z określoną dokładnością i przekroczeniem limitu czasu.

public:
 GeolocationRequest(Microsoft::Maui::Devices::Sensors::GeolocationAccuracy accuracy, TimeSpan timeout);
public GeolocationRequest (Microsoft.Maui.Devices.Sensors.GeolocationAccuracy accuracy, TimeSpan timeout);
new Microsoft.Maui.Devices.Sensors.GeolocationRequest : Microsoft.Maui.Devices.Sensors.GeolocationAccuracy * TimeSpan -> Microsoft.Maui.Devices.Sensors.GeolocationRequest
Public Sub New (accuracy As GeolocationAccuracy, timeout As TimeSpan)

Parametry

accuracy
GeolocationAccuracy

Żądana dokładność określania lokalizacji.

timeout
TimeSpan

Wartość limitu czasu, po której określenie lokalizacji zostanie anulowane.

Dotyczy