firebase:: functions:: HttpsCallableResult
#include <callable_result.h>
AnHttpsCallableResult contains the result of calling an HttpsCallable.
Summary
Constructors and Destructors | |
|---|---|
HttpsCallableResult()Creates anHttpsCallableResult with null data. | |
HttpsCallableResult(constHttpsCallableResult & other)Copy constructor. | |
HttpsCallableResult(HttpsCallableResult && other)Move constructor. | |
~HttpsCallableResult() |
Public functions | |
|---|---|
data() const | constVariant &Returns the data that is the result of a Call. |
operator=(constHttpsCallableResult & other) | Assignment operator. |
operator=(HttpsCallableResult && other) | Move assignment operator. |
Public functions
HttpsCallableResult
HttpsCallableResult(constHttpsCallableResult&other)
Copy constructor.
Copying is as efficient as copying aVariant.
| Details | |||
|---|---|---|---|
| Parameters |
|
HttpsCallableResult
HttpsCallableResult(HttpsCallableResult&&other)
Move constructor.
Moving is an efficient operation forHttpsCallableResult instances.
| Details | |||
|---|---|---|---|
| Parameters |
|
data
constVariant&data()const
Returns the data that is the result of a Call.
| Details | |
|---|---|
| Returns | The variant containing the data. |
operator=
HttpsCallableResult&operator=(constHttpsCallableResult&other)
Assignment operator.
Copying is as efficient as copying aVariant.
| Details | |||
|---|---|---|---|
| Parameters |
| ||
| Returns | Reference to the destinationHttpsCallableResult. |
operator=
HttpsCallableResult&operator=(HttpsCallableResult&&other)
Move assignment operator.
Moving is an efficient operation forHttpsCallableResult instances.
| Details | |||
|---|---|---|---|
| Parameters |
| ||
| Returns | Reference to the destinationHttpsCallableResult. |
~HttpsCallableResult
~HttpsCallableResult()
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 2024-01-23 UTC.