Extensions class

The FirebaseExtensions service interface.

Signature:

exportdeclareclassExtensions

Properties

PropertyModifiersTypeDescription
appApp

Methods

MethodModifiersDescription
runtime()The runtime() method returns a new Runtime, which provides methods to modify an extension instance's runtime data.

Extensions.app

Signature:

readonlyapp:App;

Extensions.runtime()

The runtime() method returns a new Runtime, which provides methods to modify an extension instance's runtime data.

This method will throw an error if called outside an Extensions environment.

Signature:

runtime():Runtime;

Returns:

Runtime

A newRuntime object.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-11-17 UTC.