Extensions class
Stay organized with collections
Save and categorize content based on your preferences.
The Firebase Extensions
service interface.
Signature:
export declare class Extensions
Properties
Property |
Modifiers |
Type |
Description |
app |
|
App |
|
Methods
Method |
Modifiers |
Description |
runtime() |
|
The runtime() method returns a new Runtime, which provides methods to modify an extension instance's runtime data. |
Extensions.app
Signature:
readonly app: 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 new Runtime object.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-11-17 UTC.
[null,null,["Last updated 2022-11-17 UTC."],[],[],null,["The Firebase `Extensions` service interface.\n\n**Signature:** \n\n export declare class Extensions \n\nProperties\n\nMethods\n\nExtensions.app\n\n**Signature:** \n\n readonly app: App;\n\nExtensions.runtime()\n\nThe runtime() method returns a new Runtime, which provides methods to modify an extension instance's runtime data.\n\nThis method will throw an error if called outside an Extensions environment.\n\n**Signature:** \n\n runtime(): Runtime;\n\n**Returns:**\n\n[Runtime](./firebase-admin.extensions.runtime.md#runtime_class)\n\nA new [Runtime](./firebase-admin.extensions.runtime.md#runtime_class) object."]]