Package com.caplin.streamlink
Interface SubscriptionStatusEvent
public interface SubscriptionStatusEvent
Provides information about a change in the state of a subscription.
The SubscriptionStatusEvent
will be provided on a onSubscriptionStatus
callback to a SubscriptionListener
.
-
Method Summary
Modifier and TypeMethodDescriptionReturns any fields associated with the status event.Returns the new status of the subject of the subscription.Returns the new status message of the subject of the subscription.Returns the subject of the subscription to which the event relates.
-
Method Details
-
getSubject
String getSubject()Returns the subject of the subscription to which the event relates.
- Returns:
- The subject.
-
getStatus
SubscriptionStatusType getStatus()Returns the new status of the subject of the subscription.
- Returns:
- The new status.
-
getStatusMessage
String getStatusMessage()Returns the new status message of the subject of the subscription.
- Returns:
- The new status message.
-
getFields
Returns any fields associated with the status event.
The fields may contain metadata related to the event, the known keys are "code" and "status".
- Returns:
- the fields
-