Skip to content

Commit b2b7b7b

Browse files
committed
update api.txt file
1 parent 527045b commit b2b7b7b

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

firebase-database/ktx/api.txt

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,57 @@
11
// Signature format: 2.0
22
package com.google.firebase.database.ktx {
33

4+
public abstract sealed class ChildEvent {
5+
}
6+
7+
public static final class ChildEvent.Added extends com.google.firebase.database.ktx.ChildEvent {
8+
ctor public ChildEvent.Added(@NonNull com.google.firebase.database.DataSnapshot snapshot, @Nullable String previousChildName);
9+
method @NonNull public com.google.firebase.database.DataSnapshot component1();
10+
method @Nullable public String component2();
11+
method @NonNull public com.google.firebase.database.ktx.ChildEvent.Added copy(@NonNull com.google.firebase.database.DataSnapshot snapshot, @Nullable String previousChildName);
12+
method @Nullable public String getPreviousChildName();
13+
method @NonNull public com.google.firebase.database.DataSnapshot getSnapshot();
14+
property @Nullable public final String previousChildName;
15+
property @NonNull public final com.google.firebase.database.DataSnapshot snapshot;
16+
}
17+
18+
public static final class ChildEvent.Changed extends com.google.firebase.database.ktx.ChildEvent {
19+
ctor public ChildEvent.Changed(@NonNull com.google.firebase.database.DataSnapshot snapshot, @Nullable String previousChildName);
20+
method @NonNull public com.google.firebase.database.DataSnapshot component1();
21+
method @Nullable public String component2();
22+
method @NonNull public com.google.firebase.database.ktx.ChildEvent.Changed copy(@NonNull com.google.firebase.database.DataSnapshot snapshot, @Nullable String previousChildName);
23+
method @Nullable public String getPreviousChildName();
24+
method @NonNull public com.google.firebase.database.DataSnapshot getSnapshot();
25+
property @Nullable public final String previousChildName;
26+
property @NonNull public final com.google.firebase.database.DataSnapshot snapshot;
27+
}
28+
29+
public static final class ChildEvent.Moved extends com.google.firebase.database.ktx.ChildEvent {
30+
ctor public ChildEvent.Moved(@NonNull com.google.firebase.database.DataSnapshot snapshot, @Nullable String previousChildName);
31+
method @NonNull public com.google.firebase.database.DataSnapshot component1();
32+
method @Nullable public String component2();
33+
method @NonNull public com.google.firebase.database.ktx.ChildEvent.Moved copy(@NonNull com.google.firebase.database.DataSnapshot snapshot, @Nullable String previousChildName);
34+
method @Nullable public String getPreviousChildName();
35+
method @NonNull public com.google.firebase.database.DataSnapshot getSnapshot();
36+
property @Nullable public final String previousChildName;
37+
property @NonNull public final com.google.firebase.database.DataSnapshot snapshot;
38+
}
39+
40+
public static final class ChildEvent.Removed extends com.google.firebase.database.ktx.ChildEvent {
41+
ctor public ChildEvent.Removed(@NonNull com.google.firebase.database.DataSnapshot snapshot);
42+
method @NonNull public com.google.firebase.database.DataSnapshot component1();
43+
method @NonNull public com.google.firebase.database.ktx.ChildEvent.Removed copy(@NonNull com.google.firebase.database.DataSnapshot snapshot);
44+
method @NonNull public com.google.firebase.database.DataSnapshot getSnapshot();
45+
property @NonNull public final com.google.firebase.database.DataSnapshot snapshot;
46+
}
47+
448
public final class DatabaseKt {
549
method @NonNull public static com.google.firebase.database.FirebaseDatabase database(@NonNull com.google.firebase.ktx.Firebase, @NonNull String url);
650
method @NonNull public static com.google.firebase.database.FirebaseDatabase database(@NonNull com.google.firebase.ktx.Firebase, @NonNull com.google.firebase.FirebaseApp app);
751
method @NonNull public static com.google.firebase.database.FirebaseDatabase database(@NonNull com.google.firebase.ktx.Firebase, @NonNull com.google.firebase.FirebaseApp app, @NonNull String url);
52+
method @NonNull public static kotlinx.coroutines.flow.Flow<com.google.firebase.database.ktx.ChildEvent> getChildEvents(@NonNull com.google.firebase.database.Query);
853
method @NonNull public static com.google.firebase.database.FirebaseDatabase getDatabase(@NonNull com.google.firebase.ktx.Firebase);
54+
method @NonNull public static kotlinx.coroutines.flow.Flow<com.google.firebase.database.DataSnapshot> getSnapshots(@NonNull com.google.firebase.database.Query);
955
method public static inline <reified T> T getValue(@NonNull com.google.firebase.database.DataSnapshot);
1056
method public static inline <reified T> T getValue(@NonNull com.google.firebase.database.MutableData);
1157
}

0 commit comments

Comments
 (0)