我知道如何拦截常规短信。但有时我会收到一些特殊的短信通知。通知的处理方式不同,似乎 MessageInterceptor 无法拦截此类消息。有没有办法拦截这些通知?
后期编辑: 在某些(或所有)移动设备上,您会在屏幕上直接提示这些类型的消息,而不是仅收到消息已到达的通知。
我知道如何拦截常规短信。但有时我会收到一些特殊的短信通知。通知的处理方式不同,似乎 MessageInterceptor 无法拦截此类消息。有没有办法拦截这些通知?
后期编辑: 在某些(或所有)移动设备上,您会在屏幕上直接提示这些类型的消息,而不是仅收到消息已到达的通知。
I think what you need to do is make use of the InterceptionAction property. This property (which is of type InterceptionAction, an enumeration) takes one of two values: Notify and NotifyAndDelete. You may need to use one of these two for your scenario.
The following links may be helpful for you in this regard:
http://msmvps.com/blogs/donscf/archive/2006/04/03/89053.aspx