Table of Contents

Class SensorErrorEvent

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The SensorErrorEvent interface of the Sensor APIs provides information about errors thrown by a 'Sensor' or derived interface.

[Value("SensorErrorEvent")]
public class SensorErrorEvent : Event
Inheritance
SensorErrorEvent
Inherited Members

Remarks

Constructors

SensorErrorEvent()

public SensorErrorEvent()

SensorErrorEvent(string, SensorErrorEventInit)

The SensorErrorEvent() constructor
creates a new SensorErrorEvent object which provides information about
errors thrown by any of the interfaces based on 'Sensor'.

public SensorErrorEvent(string type, SensorErrorEventInit errorEventInitDict)

Parameters

type string
errorEventInitDict SensorErrorEventInit

Remarks

Properties

Error

The error read-only property of
the SensorErrorEvent interface returns the 'DOMException'
object passed in the event's constructor.

[Value("error")]
public DOMException Error { get; }

Property Value

DOMException

A 'DOMException'.

Remarks