{"size": 1257, "ext": "js", "max_stars_repo_path": "lib/dist/events/EventsRegistry.js", "max_stars_repo_name": "aminerol/rn-notifications", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/dist/events/EventsRegistry.js", "max_issues_repo_name": "aminerol/rn-notifications", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/dist/events/EventsRegistry.js", "max_forks_repo_name": "aminerol/rn-notifications", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 50.28, "max_line_length": 153, "alphanum_fraction": 0.8082736675}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class EventsRegistry {
    constructor(nativeEventsReceiver, completionCallbackWrapper) {
        this.nativeEventsReceiver = nativeEventsReceiver;
        this.completionCallbackWrapper = completionCallbackWrapper;
    }
    registerRemoteNotificationsRegistered(callback) {
        return this.nativeEventsReceiver.registerRemoteNotificationsRegistered(callback);
    }
    registerNotificationReceivedForeground(callback) {
        return this.nativeEventsReceiver.registerNotificationReceived(this.completionCallbackWrapper.wrapReceivedForegroundCallback(callback));
    }
    registerNotificationReceivedBackground(callback) {
        return this.nativeEventsReceiver.registerNotificationReceivedBackground(this.completionCallbackWrapper.wrapReceivedBackgroundCallback(callback));
    }
    registerNotificationOpened(callback) {
        return this.nativeEventsReceiver.registerNotificationOpened(this.completionCallbackWrapper.wrapOpenedCallback(callback));
    }
    registerRemoteNotificationsRegistrationFailed(callback) {
        return this.nativeEventsReceiver.registerRemoteNotificationsRegistrationFailed(callback);
    }
}
exports.EventsRegistry = EventsRegistry;
