WebAPI/WebMobileConnection: Difference between revisions
< WebAPI
Jump to navigation
Jump to search
(Created page with "= Goals = Expose information about the current mobile data connection to (certain) HTML content. = Proposed API = interface MobileConnection { }") |
|||
| Line 5: | Line 5: | ||
= Proposed API = | = Proposed API = | ||
interface MobileConnection | interface MobileConnection : EventTarget | ||
{ | { | ||
attribute bool connected; | |||
attribute bool roaming; | |||
attribute string operator; | |||
attribute string type | |||
attribute float signalstrength; | |||
} | } | ||
Revision as of 13:24, 20 February 2012
Goals
Expose information about the current mobile data connection to (certain) HTML content.
Proposed API
interface MobileConnection : EventTarget
{
attribute bool connected;
attribute bool roaming;
attribute string operator;
attribute string type
attribute float signalstrength;
}