Table of Contents

Class GeolocationOption

Namespace
PuppeteerSharp
Assembly
PuppeteerSharp.dll

Geolocation option.

public class GeolocationOption : IEquatable<GeolocationOption>
Inheritance
GeolocationOption
Implements

Properties

Accuracy

Optional non-negative accuracy value.

public decimal Accuracy { get; set; }

Property Value

decimal

The accuracy.

Latitude

Latitude between -90 and 90.

public decimal Latitude { get; set; }

Property Value

decimal

The latitude.

Longitude

Longitude between -180 and 180.

public decimal Longitude { get; set; }

Property Value

decimal

The longitude.

Methods

Equals(GeolocationOption)

Determines whether the specified GeolocationOption is equal to the current GeolocationOption.

public bool Equals(GeolocationOption other)

Parameters

other GeolocationOption

The GeolocationOption to compare with the current GeolocationOption.

Returns

bool

true if the specified GeolocationOption is equal to the current GeolocationOption; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

See Also