Detaches a callback previously attached with the corresponding on*() (onValue, onChildAdded) listener.
Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from the respective on* callbacks.
Detach a callback previously attached with on*(). Calling off() on a parent listener will not automatically remove listeners registered on child nodes, off() must also be called on any child listeners to remove the callback.
If a callback is not specified, all callbacks for the specified eventType will be removed.
Similarly, if no eventType is specified, all callbacks for the Reference will be removed.
Individual listeners can also be removed by invoking their unsubscribe callbacks.
Note: Not implemented on native
Detaches a callback previously attached with the corresponding on*() (onValue, onChildAdded) listener. Note: This is not the recommended way to remove a listener. Instead, please use the returned callback function from the respective on* callbacks. Detach a callback previously attached with on*(). Calling off() on a parent listener will not automatically remove listeners registered on child nodes, off() must also be called on any child listeners to remove the callback. If a callback is not specified, all callbacks for the specified eventType will be removed. Similarly, if no eventType is specified, all callbacks for the Reference will be removed. Individual listeners can also be removed by invoking their unsubscribe callbacks. Note: Not implemented on native