Results 1 - 20 of 44

Notification.vibrate

The vibrate read-only property of the Notification interface specifies a a vibration pattern for the device's vibration hardware to emit when the notification fires. This is specified in the vibrate option of the Notification() constructor.
API Device

@viewport

The @viewport CSS at-rule contains a set of nested descriptors in a CSS block that is delimited by curly braces. These descriptors control viewport settings, primarily on mobile devices.
Adaptation At-rule CSS Device NeedsContent Reference

CSS Device Adaptation

CSS Device Adaptation is a CSS module that allows to define the size, zoom factor, and orientation of the viewport.
CSS CSS Device Adaptation Overview Reference

Window.ondeviceorientation

An event handler for the deviceorientation event, which contains information about a relative device orientation change.
API Device Orientation Mobile Orientation Property

BatteryManager

The BatteryManager interface provides ways to get information about the system's battery charge level.
API Battery API Device API Interface Reference Référence

Detecting device orientation

Increasingly, web-enabled devices are capable of determining their orientation; that is, they can report data indicating changes to their orientation with relation to the pull of gravity. In particular, hand-held devices such as mobile phones can use this information to automatically rotate the display to remain upright, presenting a wide-screen view of the web content when the device is rotated so that its width is greater than its height.
API Device Orientation Firefox OS Intermediate Mobile Motion Orientation Reference

DeviceAcceleration

A DeviceAcceleration object provides information about the amount of acceleration the device is experiencing along all three axes.
API Device Orientation Events Experimental Expérimental Interface NeedsExample Reference Référence

DeviceMotionEvent.acceleration

The acceleration property returns the amount of acceleration recorded by the device, in meters per second squared (m/s2).
API Device Orientation Firefox OS Mobile Motion NeedsExample Orientation Property

DeviceMotionEvent.accelerationIncludingGravity

The accelerationIncludingGravity property returns the amount of acceleration recorded by the device, in meters per second squared (m/s2). Unlike DeviceMotionEvent.acceleration which compensates for the influence of gravity, its value is the sum of the acceleration of the device as induced by the user and the acceleration caused by gravity.
API Device Orientation Firefox OS Mobile Motion NeedsExample Orientation Property

DeviceMotionEvent.interval

Returns the interval, in milliseconds, at which data is obtained from the underlaying hardware. You can use this to determine the granularity of motion events.
API Device Orientation Firefox OS Mobile Motion NeedsExample Orientation Property

DeviceOrientationEvent.absolute

Indicates whether or not the device is providing orientation data absolutely (that is, in reference to the Earth's coordinate frame) or using some arbitrary frame determined by the device. See Orientation and motion data explained for details.
API Device Orientation API DeviceOrientationEvent NeedsExample NeedsMarkupWork Property Reference

DeviceOrientationEvent.beta

Returns the rotation of the device around the X axis; that is, the number of degrees, ranged between -180 and 180,  by which the device is tipped forward or backward. See Orientation and motion data explained for details.
API Device Orientation API DeviceOrientationEvent NeedsBetterSpecLink NeedsExample NeedsMarkupWork Property Reference

Navigator.mozAudioChannelManager

The navigator.mozAudioChannelManager object provides access to the mozAudioChannelManager interface, which is used to manage your Firefox OS device's audio channels, including setting what channel's volume to affect when the volume buttons are pressed inside a particular app.
API AudioChannels Device API Firefox OS Navigator Property Reference

Navigator.getBattery()

The getBattery() method provides information about the system's battery, returns a battery promise, which is resolved in a BatteryManager object providing also some new events you can handle to monitor the battery status.. This implements the Battery Status API; see that documentation for additional details, a guide to using the API, and sample code.
API Battery API Device API getBattery Method Navigator Reference

Navigator.mozAudioChannelManager

The navigator.mozAudioChannelManager object provides access to the mozAudioChannelManager interface, which is used to manage your Firefox OS device's audio channels, including setting what channel's volume to affect when the volume buttons are pressed inside a particular app.
API AudioChannels Device API Firefox OS Navigator Property Reference