com.openfin.desktop
Interface NotificationListener


public interface NotificationListener

Defines a listener for notification events.

Since:
2/9/14
Author:
wche

Method Summary
 void onClick(Ack ack)
          Invoked when the notification is clicked.
 void onClose(Ack ack)
          Invoked when the notification is closed.
 void onDismiss(Ack ack)
          Invoked when the notification is dismissed.
 void onError(Ack ack)
          Invoked when the notification has errors.
 void onMessage(Ack ack)
          Invoked when the notification sends a message.
 void onShow(Ack ack)
          Invoked when the notification is being shown
 

Method Detail

onClick

void onClick(Ack ack)
Invoked when the notification is clicked.

Parameters:
ack - an Ack object
See Also:
Ack

onClose

void onClose(Ack ack)
Invoked when the notification is closed.

Parameters:
ack - an Ack object
See Also:
Ack

onDismiss

void onDismiss(Ack ack)
Invoked when the notification is dismissed.

Parameters:
ack - an Ack object
See Also:
Ack

onError

void onError(Ack ack)
Invoked when the notification has errors.

Parameters:
ack - an Ack object
See Also:
Ack

onMessage

void onMessage(Ack ack)
Invoked when the notification sends a message.

Parameters:
ack - an Ack object
See Also:
Ack

onShow

void onShow(Ack ack)
Invoked when the notification is being shown

Parameters:
ack - an Ack object
See Also:
Ack


Copyright © 2016. All rights reserved.