Table of Contents

Class GeolocationPositionError

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The GeolocationPositionError interface represents the reason of an error occurring when using the geolocating device.

[Value("GeolocationPositionError")]
public class GeolocationPositionError
Inheritance
GeolocationPositionError
Inherited Members

Remarks

Constructors

GeolocationPositionError()

public GeolocationPositionError()

Fields

PERMISSION_DENIED

[Value("PERMISSION_DENIED")]
public const ushort PERMISSION_DENIED = 1

Field Value

ushort

POSITION_UNAVAILABLE

[Value("POSITION_UNAVAILABLE")]
public const ushort POSITION_UNAVAILABLE = 2

Field Value

ushort

TIMEOUT

[Value("TIMEOUT")]
public const ushort TIMEOUT = 3

Field Value

ushort

Properties

Code

The code read-only property of the GeolocationPositionError interface is an unsigned short representing the error code.

[Value("code")]
public ushort Code { get; }

Property Value

ushort

Remarks

Message

The message read-only property of the GeolocationPositionError interface returns a human-readable string describing the details of the error.

[Value("message")]
public string Message { get; }

Property Value

string

A human-readable string describing the details of the error.

Remarks