Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit11baa52

Browse files
committed
FirebaseArduino: fix get methods signature
1 parent37248b3 commit11baa52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/FirebaseArduino.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,31 +71,31 @@ class FirebaseArduino {
7171
* \param path The path to the node you wish to retrieve.
7272
* \return The float value located at that path. Will only be populated if success() is true.
7373
*/
74-
intgetFloat(constchar* path);
74+
floatgetFloat(constchar* path);
7575

7676
/**
7777
* Gets the string value located at path.
7878
* You should check success() after calling.
7979
* \param path The path to the node you wish to retrieve.
8080
* \return The string value located at that path. Will only be populated if success() is true.
8181
*/
82-
intgetString(constchar* path);
82+
StringgetString(constchar* path);
8383

8484
/**
8585
* Gets the boolean value located at path.
8686
* You should check success() after calling.
8787
* \param path The path to the node you wish to retrieve.
8888
* \return The boolean value located at that path. Will only be populated if success() is true.
8989
*/
90-
intgetBool(constchar* path);
90+
boolgetBool(constchar* path);
9191

9292
/**
9393
* Gets the json object value located at path.
9494
* You should check success() after calling.
9595
* \param path The path to the node you wish to retrieve.
9696
* \return a FirebaseObject value located at that path. Will only be populated if success() is true.
9797
*/
98-
FirebaseObjectgetObject(constchar* path);
98+
FirebaseObjectget(constchar* path);
9999

100100
/**
101101
* Remove the node, and possibly entire tree, located at path.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp