Runtime

object Runtime
class Object
trait Matchable
class Any

Type members

Classlikes

class Message[A, R](val value: A, val sender: MessageSender, sendResponse: Function1[R, _])
class MessageEventSource(event: Event[Function3[UndefOr[Any], MessageSender, Function1[Any, _], Boolean]]) extends EventSource[Message[Option[Any], Any]]

Value members

Concrete methods

def connect(extensionId: UndefOr[AppID], connectInfo: UndefOr[ConnectInfo]): Port
def connectNative(application: String): Port
def getBackgroundPage: Future[Window]
def getURL(path: String): String
def lastError: Option[Error]
def openOptionsPage: Future[Unit]
def reload(): Unit
def restart(): Unit
def sendMessage(extensionId: UndefOr[AppID], message: Any, options: UndefOr[SendMessageOptions], responseCallback: UndefOr[Function1[Object, _]]): Unit
def sendNativeMessage(application: String, message: Object, responseCallback: UndefOr[Function1[Object, _]]): Unit
def setUninstallURL(url: String): Unit