MozNetworkStatsManager.getAvailableServiceTypes()

This API is available on Firefox OS for internal applications only.

Summary

The getAvailableServiceTypes method returns an Array of available service types that used to be saved in the database.

Syntax

JavaScript
var service_types = getAvailableServiceTypes();

Parameters

None.

Return

A DOMRequest object. If successful, the result field of the DOMRequest holds an array of the currently available service types.

Specifications

Not part of any specification.

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/moznetworkstatsmanager/getavailableservicetypes

API B2G Firefox OS Method Network Stats Non-standard Reference Référence