blob: 0b7f746ae2141902c5b4d2c4f6a56bb24c106c10 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Specification at:
// https://w3c.github.io/orientation-sensor/#relativeorientationsensor-interface
[
RuntimeEnabled=Sensor,
Constructor(optional SpatialSensorOptions sensorOptions),
ConstructorCallWith=ExecutionContext,
SecureContext,
RaisesException=Constructor,
MeasureAs=RelativeOrientationSensorConstructor,
Exposed=Window
] interface RelativeOrientationSensor : OrientationSensor {
};