All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.pushover.client.PushoverClient Maven / Gradle / Ivy

There is a newer version: 1.1.1
Show newest version
package net.pushover.client;

import java.util.Set;

/**
 * Pushover.net client interface.
 * 
 * @author Sean Scanlon
 * 
 * @since Dec 18, 2012
 */
public interface PushoverClient {

    /**
     * Push a message to the service
     * 
     * @param msg The desired message
     * @return a {@link Status}
     * @throws PushoverException based on the results of the APIs
     */
    Status pushMessage(PushoverMessage msg) throws PushoverException;

    /**
     * Retrieve a list of available sounds from the service
     * 
     * @return a set of {@link PushOverSound}
     * @throws PushoverException based on the results of the APIs
     */
    Set getSounds() throws PushoverException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy