static void onChildMoved(IntPtr snapshot, IntPtr reference) { if (snapshot == IntPtr.Zero) { return; } QueryiOSImpl target = (QueryiOSImpl)GetCachedInstance(reference); if (target == null) { Debug.Log("unable to locate target for child callback!"); return; } EventHandler <ChangedEventArgs> handler = target.childMovedEvent; if (handler != null) { handler(target, new ChangedEventArgs() { DataSnapshot = new DataSnapshotiOSImpl(snapshot) }); } }
public static FirebaseiOSImpl CreateNewFirebaseiOSImpl(IntPtr nativeReference) { return(QueryiOSImpl.GetOrCreateCachedInstance(nativeReference, () => { return new FirebaseiOSImpl(nativeReference); })); }