44
edits
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
===== Adapter ===== | ===== Adapter ===== | ||
interface nsIDOMBluetoothAdapter : nsIDOMEventTarget | |||
{ | |||
attribute boolean powered; | |||
attribute boolean discoverable; | |||
readonly attribute DOMString address; | |||
readonly attribute unsigned long class; | |||
attribute DOMString name; | |||
attribute boolean pairable; | |||
attribute unsigned long pairabletimeout; | |||
attribute unsigned long discoverabletimeout; | |||
readonly attribute boolean discovering; | |||
void startDiscovery(); | |||
void stopDiscovery(); | |||
attribute nsIDOMEventListener ondevicefound; | |||
attribute nsIDOMEventListener onpropertychanged; | |||
attribute nsIDOMEventListener ondevicedisappeared; | |||
attribute nsIDOMEventListener ondevicecreated; | |||
attribute nsIDOMEventListener ondeviceremoved; | |||
}; | |||
===== Device ===== | ===== Device ===== |
edits