Interface IMessageFilterSubscription
interface IMessageFilterSubscription
Extends com.amazon.apmf.ISubscription
A subscription handle for registered message filters.
Calling unsubscribeFilters() to remove every registered filter does
NOT dispose this subscription; the listener remains attached. To
fully release the subscription and detach the listener, callers must
invoke unsubscribe() (inherited from ISubscription).
The subscription is reference-counted via IStandard, but dropping
all Ptr<> references does NOT automatically unsubscribe; the
logical subscription persists until unsubscribe() is called or the
event source is destroyed.
Methods
unsubscribeFilters()
Removes specific filters from this subscription. Filters that do not match any existing registration are ignored.voidunsubscribeFilters(IMessageFilter*[]messageFilters)
Parameters
messageFilters
IMessageFilter*[] — Required
The list of Message Filters to remove.
Throws
com.amazon.apmf.InvalidArgumentError— if messageFilters is empty.

