package com.telerik.localnotifications;

/**
 * Defines methods for Success and Error callbacks
 */
public interface LocalNotificationsPluginListener {
    /**
     * Defines a success callback method, which is used to pass success function reference
     * from the nativescript to the Java plugin
     *
     * @param data
     */
    void success(Object data);


    /**
     * Defines a error callback method, which is used to pass error function reference
     * from the nativescript to the Java plugin
     *
     * @param data
     */
    void error(Object data);
}
