A reference to a particular Callable HTTPS trigger in Cloud Functions.
| Task<HttpsCallableResult> |
call()
Executes this HTTPS endpoint asynchronously without arguments.
|
| Task<HttpsCallableResult> |
Executes this HTTPS endpoint asynchronously without arguments.
The request to the Cloud Functions backend made by this method automatically includes a Firebase Instance ID token to identify the app instance. If a user is logged in with Firebase Auth, an auth token for the user will also be automatically included.
Firebase Instance ID sends data to the Firebase backend periodically to collect information
regarding the app instance. To stop this, see deleteInstanceId(). It will resume with a new
Instance ID the next time you call this method.
Executes this Callable HTTPS trigger asynchronously.
The data passed into the trigger can be any of the following types:
If the returned task fails, the Exception will be one of the following types:
The request to the Cloud Functions backend made by this method automatically includes a Firebase Instance ID token to identify the app instance. If a user is logged in with Firebase Auth, an auth token for the user will also be automatically included.
Firebase Instance ID sends data to the Firebase backend periodically to collect information
regarding the app instance. To stop this, see deleteInstanceId(). It will resume with a new
Instance ID the next time you call this method.
| data | Parameters to pass to the trigger. |
|---|