interface INotificationHandler
cangjie
public interface INotificationHandler<TNotification> where TNotification <: INotification功能:定义通知处理器接口。
成员概览
| 成员 | 功能 |
|---|---|
| func handle(TNotification) | 处理一个通知消息。 |
func handle(TNotification)
cangjie
func handle(notification: TNotification): Unit功能:处理一个通知消息。
参数:
- notification:
TNotification- 要处理的通知实例。
返回值:
Unit- 无返回值。