Package 

Interface IEmailSubscription

  • All Implemented Interfaces:
    com.onesignal.user.subscriptions.ISubscription

    
    public interface IEmailSubscription
     implements ISubscription
                        

    An email subscription allows a user to receive notifications through the email channel.

    • Method Summary

      Modifier and Type Method Description
      abstract String getEmail() The email address notifications will be sent to for this subscription.
      abstract String getId() The unique identifier for this subscription.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getEmail

         abstract String getEmail()

        The email address notifications will be sent to for this subscription.

      • getId

         abstract String getId()

        The unique identifier for this subscription. This will be an empty string until the subscription has been successfully created on the backend and assigned an ID. Use addChangeHandler to be notified when the id has been successfully assigned.