Dart Documentationchrome.src.common_expChromeApi

ChromeApi abstract class

A common super class for the Chrome APIs.

abstract class ChromeApi {
 /**
  * Returns true if the API is available. The common causes of an API not being
  * avilable are:
  *
  *  * a permission is missing in the application's manifest.json file
  *  * the API is defined on a newer version of Chrome then the current runtime
  */
 bool get available;
}

Subclasses

ChromeAlarms, ChromeAppRuntime, ChromeAppWindow, ChromeAudio, ChromeBluetooth, ChromeContextMenus, ChromeEvents, ChromeFileSystem, ChromeI18N, ChromeIdentity, ChromeIdle, ChromeLocation, ChromeMediaGalleries, ChromeNotifications, ChromePermissions, ChromePower, ChromePushMessaging, ChromeRuntime, ChromeSerial, ChromeSocket, ChromeStorage, ChromeSyncFileSystem, ChromeSystemCpu, ChromeSystemMemory, ChromeSystemStorage, ChromeTabs, ChromeTts, ChromeTypes, ChromeUsb, ChromeWindows

Properties

final bool available #

Returns true if the API is available. The common causes of an API not being avilable are:

  • a permission is missing in the application's manifest.json file
  • the API is defined on a newer version of Chrome then the current runtime
bool get available;