OptionalnativeModule: NativeModuleAdd the specified listener, this call passes through to the NativeModule addListener
the listener function
Optionalcontext: anycontext of the listener
Emits an event of the given type with the given data. All handlers of that particular type will be notified.
Name of the event to emit
Returns the number of listeners that are currently registered for the given event.
Name of the event to query
name of the event whose registered listeners to remove
the NativeModule implementation. This is required on IOS and will throw an invariant error if undefined.