Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created October 10, 2019 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recursivecodes/c013bb78411d1c3161216da61a176872 to your computer and use it in GitHub Desktop.
Save recursivecodes/c013bb78411d1c3161216da61a176872 to your computer and use it in GitHub Desktop.
OnsSendExample.java
package codes.recursive;
import java.util.Date;
public class OnsSendExample {
    public static void main(String... args) throws Exception {
        Ons ons = new Ons();
        ons.sendNotification(
                "Test from Java",
                "This is a test notification sent by the Java SDK at " + new Date().toString()
        );
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment