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

Method onChildAdded

packages/firebase-database/index.android.ts:224–228  ·  view source on GitHub ↗
(param0: com.google.firebase.database.DataSnapshot, param1: string)

Source from the content-addressed store, hash-verified

222 handle = this.native.addChildEventListener(
223 new com.google.firebase.database.ChildEventListener({
224 onChildAdded(param0: com.google.firebase.database.DataSnapshot, param1: string) {
225 if (eventType === 'child_added') {
226 callback?.(DataSnapshot.fromNative(param0), param1);
227 }
228 },
229 onChildChanged(param0: com.google.firebase.database.DataSnapshot, param1: string) {
230 if (eventType === 'child_changed') {
231 callback?.(DataSnapshot.fromNative(param0), param1);

Callers

nothing calls this directly

Calls 2

callbackFunction · 0.85
fromNativeMethod · 0.45

Tested by

no test coverage detected