object Runtime extends Object
- Annotations
- @JSGlobal( "chrome.runtime" ) @native()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Runtime
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type AppID = String
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def connect(extensionId: UndefOr[AppID] = undefined, connectInfo: UndefOr[ConnectInfo] = undefined): Port
- def connectNative(application: String): Port
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getBackgroundPage(callback: Function1[Window, _]): Unit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getManifest(): Manifest
- def getPackageDirectoryEntry(callback: Function1[DirectoryEntry, _]): Unit
- def getPlatformInfo(callback: Function1[PlatformInfo, _]): Unit
- def getURL(path: String): String
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: AppID
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def lastError: UndefOr[Error]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val onBrowserUpdateAvailable: Event[Function0[_]]
- val onConnect: Event[Function1[Port, _]]
- val onConnectExternal: Event[Function1[Port, _]]
- val onInstalled: Event[Function1[OnInstalledDetails, _]]
- val onMessage: Event[Function3[UndefOr[Any], MessageSender, Function1[Any, _], Boolean]]
- val onMessageExternal: Event[Function3[UndefOr[Any], MessageSender, Function1[Any, _], Boolean]]
- val onRestartRequired: Event[Function1[RestartReason, _]]
- val onStartup: Event[Function0[_]]
- val onSuspend: Event[Function0[_]]
- val onSuspendCanceled: Event[Function0[_]]
- val onUpdateAvailable: Event[Function1[OnUpdateAvailableDetails, _]]
- def openOptionsPage(callback: UndefOr[Function0[_]]): Unit
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def reload(): Unit
- def requestUpdateCheck(callback: Function2[Status, UndefOr[Details], _]): Unit
- def restart(): Unit
- def sendMessage(extensionId: UndefOr[AppID] = undefined, message: Any, options: UndefOr[SendMessageOptions] = undefined, responseCallback: UndefOr[Function1[Object, _]] = js.undefined): Unit
- def sendNativeMessage(application: String, message: Object, responseCallback: UndefOr[Function1[Object, _]]): Unit
- def setUninstallURL(url: String): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()