Readonly
iosReadonly
androidCreates an event emitter instance to listen for the actions
Call the function to remove the event
Gets as any arguments as it needs
Removes the specified event and invokes the callback after it is removed
Triggers the event manually.
Arguments that needs to be passed down
Creates an event emitter instance to listen for the actions
Call the function to remove the event
Gets as any arguments as it needs
Adds the listener function to the beginning of the listeners array for the event named eventName. No checks are made to see if the listener has already been added. Multiple calls passing the same combination of eventName and listener will result in the listener being added, and called, multiple times.
Adds a one-time listener function for the event named eventName to the beginning of the listeners array. The next time eventName is triggered, this listener is removed, and then invoked.
Generated using TypeDoc
Requests permissions for both OS. If you want to get a permission which is specific to certain OS, please use their respective method instead. For Android, this will override onRequestPermissionsResult method, therefore if you want to handle another android specific permissions, please override the method again.