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()

Creates anHttpsCallableResult with null data.

HttpsCallableResult

HttpsCallableResult(constHttpsCallableResult&other)

Copy constructor.

Copying is as efficient as copying aVariant.

Details
Parameters
other
HttpsCallableResult to copy data from.

HttpsCallableResult

HttpsCallableResult(HttpsCallableResult&&other)

Move constructor.

Moving is an efficient operation forHttpsCallableResult instances.

Details
Parameters
other
HttpsCallableResult to move data from.

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
other
HttpsCallableResult to copy data from.
Returns
Reference to the destinationHttpsCallableResult.

operator=

HttpsCallableResult&operator=(HttpsCallableResult&&other)

Move assignment operator.

Moving is an efficient operation forHttpsCallableResult instances.

Details
Parameters
other
HttpsCallableResult to move data from.
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.