public interface WorkerGlobalScope extends EventTarget
Modifier and Type | Field and Description |
---|---|
static int |
PERSISTENT |
static int |
TEMPORARY |
Modifier and Type | Method and Description |
---|---|
EventRemover |
addEventListener(String type,
EventListener listener)
Register an event handler of a specific event type on the
EventTarget . |
EventRemover |
addEventListener(String type,
EventListener listener,
boolean useCapture)
Register an event handler of a specific event type on the
EventTarget . |
void |
clearInterval(int handle) |
void |
clearTimeout(int handle) |
void |
close() |
boolean |
dispatchEvent(Event evt)
Dispatch an event to this
EventTarget . |
WorkerLocation |
getLocation() |
WorkerNavigator |
getNavigator() |
EventListener |
getOnerror() |
WorkerGlobalScope |
getSelf() |
IDBFactory |
getWebkitIndexedDB() |
NotificationCenter |
getWebkitNotifications() |
void |
importScripts() |
Database |
openDatabase(String name,
String version,
String displayName,
int estimatedSize) |
Database |
openDatabase(String name,
String version,
String displayName,
int estimatedSize,
DatabaseCallback creationCallback) |
DatabaseSync |
openDatabaseSync(String name,
String version,
String displayName,
int estimatedSize) |
DatabaseSync |
openDatabaseSync(String name,
String version,
String displayName,
int estimatedSize,
DatabaseCallback creationCallback) |
void |
removeEventListener(String type,
EventListener listener)
Removes an event listener from the
EventTarget . |
void |
removeEventListener(String type,
EventListener listener,
boolean useCapture)
Removes an event listener from the
EventTarget . |
int |
setInterval(TimeoutHandler handler,
int timeout) |
void |
setOnerror(EventListener arg) |
int |
setTimeout(TimeoutHandler handler,
int timeout) |
void |
webkitRequestFileSystem(int type,
double size) |
void |
webkitRequestFileSystem(int type,
double size,
FileSystemCallback successCallback) |
void |
webkitRequestFileSystem(int type,
double size,
FileSystemCallback successCallback,
ErrorCallback errorCallback) |
DOMFileSystemSync |
webkitRequestFileSystemSync(int type,
double size) |
EntrySync |
webkitResolveLocalFileSystemSyncURL(String url) |
void |
webkitResolveLocalFileSystemURL(String url) |
void |
webkitResolveLocalFileSystemURL(String url,
EntryCallback successCallback) |
void |
webkitResolveLocalFileSystemURL(String url,
EntryCallback successCallback,
ErrorCallback errorCallback) |
static final int PERSISTENT
static final int TEMPORARY
WorkerLocation getLocation()
WorkerNavigator getNavigator()
EventListener getOnerror()
void setOnerror(EventListener arg)
WorkerGlobalScope getSelf()
IDBFactory getWebkitIndexedDB()
NotificationCenter getWebkitNotifications()
EventRemover addEventListener(String type, EventListener listener)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
EventRemover addEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.addEventListener
in interface EventTarget
void clearInterval(int handle)
void clearTimeout(int handle)
void close()
boolean dispatchEvent(Event evt)
EventTarget
EventTarget
.dispatchEvent
in interface EventTarget
void importScripts()
Database openDatabase(String name, String version, String displayName, int estimatedSize, DatabaseCallback creationCallback)
Database openDatabase(String name, String version, String displayName, int estimatedSize)
DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, DatabaseCallback creationCallback)
DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize)
void removeEventListener(String type, EventListener listener)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
void removeEventListener(String type, EventListener listener, boolean useCapture)
EventTarget
EventTarget
.removeEventListener
in interface EventTarget
int setInterval(TimeoutHandler handler, int timeout)
int setTimeout(TimeoutHandler handler, int timeout)
void webkitRequestFileSystem(int type, double size, FileSystemCallback successCallback, ErrorCallback errorCallback)
void webkitRequestFileSystem(int type, double size, FileSystemCallback successCallback)
void webkitRequestFileSystem(int type, double size)
DOMFileSystemSync webkitRequestFileSystemSync(int type, double size)
void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback)
void webkitResolveLocalFileSystemURL(String url)
void webkitResolveLocalFileSystemURL(String url, EntryCallback successCallback, ErrorCallback errorCallback)
Copyright © 2016. All rights reserved.