抱歉,该网页目前还不存在中文版本,请继续浏览其他网页!

Web APIs

The following standard APIs are supported by Crosswalk.

Version key:    [a] = Android only    [w] = Windows desktop only    [X.X.X.X] = this Crosswalk version or later    [X.X.X.X;x86|ARM] = this version or later for the specified architecture.

Crosswalk Project Extensions for Intel RealSense Technology

Multimedia & Graphics

Networking & Storage

  • File API - Asynchronously read the contents of files or raw data buffers stored on the client.
  • File API: Directories and System - Expose a sandboxed filesystem on the client.
  • File API: Writer - Write files to a sandboxed sandboxed filesystem on the client.
  • HTML5 Web Messaging - A mechanism for communicating between browsing contexts.
  • Indexed DB - An asynchronous client-side storage API for fast access to large amounts of structured data.
  • Online State - Online and offline events for the network state.
  • Web SQL - Store data in databases on the client using a variant of SQL.
  • Web Sockets - A low overhead bi-directional communication with web servers over a persistent TCP connection.
  • Web Storage - A simple synchronous client-side storage API for storing name-value pairs.
  • XMLHttpRequest - Transfer data between a client and a server programmatically over HTTP.

Performance & Optimization

Device & Hardware

Experimental APIs

In addition to the standard APIs, Crosswalk provides additional experimental or emerging standards APIs to further support building a native application experience using web platform technologies.

  • Device Capabilities - Retrieve information about the underlaying system.
  • Launch Screen - Display a static user interface on application launch and hide it when the application is ready.
  • Presentation API[a] - Access external displays from within web applications. Get started with this tutorial: Presentation API Tutorial. For more information see the developer documentation.
  • Raw Sockets - Raw TCP and UDP sockets for client and server sides.
  • SIMD - Data types and operations for access to the Single Instruction Multiple Data (SIMD) instruction sets available on common CPU architectures, such as SSE (IA32/X64) and NEON (ARMv7. This implemention is not yet complete). Whitepaper: SIMD in Javascript via C++ and Emscripten.
  • WebCL[a][13.41.304.0] - JavaScript binding to the Khronos OpenCL standard. It enables web applications to access harness GPU and multi-core CPU for parallel processing.

Some content in the Standard APIs section of this page has been adapted from chromestatus.com, © 2013 The Chromium Authors, used under Creative Commons Attribution 2.5 license