Navigator (Firefox OS extensions)

The Navigator interface represents the state and the identity of the user agent. It allows scripts to query it and to register themselves to carry on some activities. This page represents the list of properties and methods added to Navigator on Firefox OS devices. For the list of properties and methods available to any Web sites, consult Navigator.

A Navigator object can be retrieved using the read-only Window.navigator property.

Properties

Navigator.Bluetooth Read only  
Returns a Promise to a BluetoothDevice object with the specified options.
Navigator.mozAlarms Requires FirefoxOS 1.0
Returns a MozAlarmsManager object you can use to schedule notifications or applications to be started at a specific time.
Navigator.mozApps
Returns an Apps object you can use to install, manage, and control Open Web apps.
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.
Navigator.mozCamera Requires FirefoxOS 1.0
Return a CameraManager object you can use to access cameras available on your device.
Navigator.mozContacts Requires FirefoxOS 1.0
Returns a ContactManager to access and manage all the contacts available on the device.
Navigator.mozFMRadio Requires FirefoxOS 1.0
Return an FMRadio object you can use to access the device FM radio.
Navigator.mozMobileConnections Requires FirefoxOS 1.0
Return a list of MozMobileConnection object to retrieve the connection states of a mobile device and to perform some SIM/RUIM card actions.
Navigator.mozMobileMessage Requires FirefoxOS 1.1
Returns a MozMobileMessageManager object you can use to manage MMS and SMS messaging in your web application.
Navigator.mozNetworkStats Requires FirefoxOS 1.0
Returns a MozNetworkStatsManager object you can use to access network data amount information.
Navigator.mozNfc Requires FirefoxOS 2.0
Returns a MozNFC object that can be used to access Near Field Communication (NFC) functionality, allowing two phones to have data transferred between one another simply by holding them close or tapping them together.
Navigator.mozPower Requires FirefoxOS 1.0
Returns a PowerManager object that allows to control the power usage and turn off unused peripherals to save power.
Navigator.mozSettings Requires FirefoxOS 1.0
Returns a SettingsManager object you can use to access the device's settings.
Navigator.mozSms Requires FirefoxOS 1.0 Deprecated since Gecko 25
Returns a MozSmsManager object you can use to manage SMS messaging in your web application.
Navigator.mozTCPSocket Requires FirefoxOS 1.0
Returns a TCPSocket object that allows to open a raw TCP connection.
Navigator.mozTelephony Requires FirefoxOS 1.0
Returns a Telephony object you can use to create and manage telephone calls.
Navigator.mozWifiManager Requires FirefoxOS 1.0
Returns a WifiManager object you can use to manage Wifi networks.

Methods

Navigator.getDataStores() Requires FirefoxOS 1.0
Provides access to a list of the Data Store API data stores available on the device.
Navigator.getDeviceStorage() Requires FirefoxOS 1.0
Gives access to device storage areas.
Navigator.getDeviceStorages() Requires FirefoxOS 1.0
Gives access to all the device storage areas of the same type.
Navigator.mozHasPendingMessage() Requires FirefoxOS 1.0
Allows an app to know if there is a pending message of a given type.
Navigator.mozSetMessageHandler() Requires FirefoxOS 1.0
Allows an app to register a function handler for any kind of system message.
Navigator.removeIdleObserver() Requires FirefoxOS 1.0
Allows to remove an observer used to check if the user is idle.

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli
 Last updated by: chrisdavidmills,