|
1 | 1 | // Signature format: 2.0
|
2 | 2 | package com.google.firebase.database.ktx {
|
3 | 3 |
|
| 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 | + |
4 | 48 | public final class DatabaseKt {
|
5 | 49 | method @NonNull public static com.google.firebase.database.FirebaseDatabase database(@NonNull com.google.firebase.ktx.Firebase, @NonNull String url);
|
6 | 50 | method @NonNull public static com.google.firebase.database.FirebaseDatabase database(@NonNull com.google.firebase.ktx.Firebase, @NonNull com.google.firebase.FirebaseApp app);
|
7 | 51 | 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); |
8 | 53 | 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); |
9 | 55 | method public static inline <reified T> T getValue(@NonNull com.google.firebase.database.DataSnapshot);
|
10 | 56 | method public static inline <reified T> T getValue(@NonNull com.google.firebase.database.MutableData);
|
11 | 57 | }
|
|
0 commit comments