MCPcopy Index your code
hub / github.com/NativeScript/firebase / onDataChange

Method onDataChange

packages/firebase-database/index.android.ts:212–214  ·  view source on GitHub ↗
(param0: com.google.firebase.database.DataSnapshot)

Source from the content-addressed store, hash-verified

210 handle = this.native.addValueEventListener(
211 new com.google.firebase.database.ValueEventListener({
212 onDataChange(param0: com.google.firebase.database.DataSnapshot) {
213 callback?.(DataSnapshot.fromNative(param0), null);
214 },
215 onCancelled(param0: com.google.firebase.database.DatabaseError) {
216 const err = FirebaseError.fromNative(param0);
217 cancelCallbackOrContext?.(err);

Callers

nothing calls this directly

Calls 2

callbackFunction · 0.85
fromNativeMethod · 0.45

Tested by

no test coverage detected