Checks if ads are enabled or blocked
Some providers require you to destroy an add after it was shown, that can be done here.
Calls each of the listeners registered for a given event.
Return an array listing the events for which the emitter has registered listeners.
Some providers allow you to hide an ad, you might think of an banner ad that is shown in show cases
Return the number of listeners listening to a given event.
Return the listeners registered for a given event.
Add a listener for a given event.
Add a one-time listener for a given event.
Some providers might require you to preload an ad before showing it, that can be done here
Remove all listeners, or those of the specified event.
Remove the listeners of a given event.
Here we set an adprovider, any can be given as long as it implements the IProvider interface
Here we request an ad, the arguments passed depend on the provider used!
Generated using TypeDoc
Checks if ads are enabled or blocked