Table of Contents

Class GeolocationManager

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class GeolocationManager : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
GeolocationManager
Implements
Inherited Members

Constructors

GeolocationManager(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public GeolocationManager(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

GeolocationManager(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GeolocationManager(CreationData data)

Parameters

data CreationData

GeolocationManager(GeolocationManagerHandle)

protected GeolocationManager(GeolocationManagerHandle handle)

Parameters

handle GeolocationManagerHandle

Fields

EnableHighAccuracyPropertyDefinition

public static readonly Property<bool, GeolocationManager> EnableHighAccuracyPropertyDefinition

Field Value

Property<bool, GeolocationManager>

StartSignal

Signal Descriptor for OnStart.

public static readonly ReturningSignal<GeolocationManager, bool> StartSignal

Field Value

ReturningSignal<GeolocationManager, bool>

StopSignal

Signal Descriptor for OnStop.

public static readonly Signal<GeolocationManager> StopSignal

Field Value

Signal<GeolocationManager>

Properties

EnableHighAccuracy

public bool EnableHighAccuracy { get; }

Property Value

bool

Methods

Failed(string)

[Version("2.26")]
public void Failed(string errorMessage)

Parameters

errorMessage string

GetEnableHighAccuracy()

[Version("2.26")]
public bool GetEnableHighAccuracy()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed GeolocationManager instance for a given pointer.

public static GeolocationManager NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

GeolocationManager

NewWithProperties(ConstructArgument[])

Creates a new GeolocationManager and sets the properties specified by the construct arguments.

public static GeolocationManager NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

GeolocationManager

UpdatePosition(GeolocationPosition)

[Version("2.26")]
public void UpdatePosition(GeolocationPosition position)

Parameters

position GeolocationPosition

Events

OnStart

public event ReturningSignalHandler<GeolocationManager, bool> OnStart

Event Type

ReturningSignalHandler<GeolocationManager, bool>

OnStop

public event SignalHandler<GeolocationManager> OnStop

Event Type

SignalHandler<GeolocationManager>