Interface EmailMessageSubscriber

interface EmailMessageSubscriber {
    connectionStatusChanged?(state): void;
    emailMessageCreated(emailMessage): void;
    emailMessageDeleted(emailMessage): void;
    emailMessageUpdated(emailMessage): void;
}

Methods

  • Notifies the subscriber that the subscription connection state has changed. The subscriber won't be notified of EmailMessage changes until the connection status changes to ConnectionState.CONNECTED. The subscriber will stop receiving EmailMessage change notifications when the connection state changes to ConnectionState.DISCONNECTED.

    Parameters

    Returns void

  • Notifies the subscriber of a created EmailMessage.

    Parameters

    Returns void

  • Notifies the subscriber of a deleted EmailMessage.

    Parameters

    Returns void

  • Notifies the subscriber of an updated EmailMessage.

    Parameters

    Returns void