public interface SubscriptionListener
SubscriptionListener
is used to receive notifications about
subscription availability in the corresponding subscription providers.
Generally, the notification is issued only if provider transforms from 'empty' state into 'available' state at some moment after transition. In other cases notification is not issued, though certain exclusions exist. The notification is issued in a state that allows listener to perform potentially costly operations like event scheduling, synchronization, or farther notification.
RecordListener
.
New code is also discouraged from using this interface unless it is need for interoperability with
legacy code. Various legacy APIs will be gradually migrated to NG interfaces and classes.Modifier and Type | Field and Description |
---|---|
static SubscriptionListener |
VOID
This listener immediately retrieves and discards subscription from provider.
|
Modifier and Type | Method and Description |
---|---|
void |
subscriptionAvailable(SubscriptionProvider provider)
Notifies this listener that subscription is available in the specified
subscription provider.
|
static final SubscriptionListener VOID
void subscriptionAvailable(SubscriptionProvider provider)
Copyright © 2002-2020 Devexperts LLC. All Rights Reserved.