Package nl.vpro.domain.media
Interface StreamingStatus
- All Superinterfaces:
Displayable
,Serializable
- All Known Implementing Classes:
ReadonlyStreamingStatus
,StreamingStatusImpl
- Since:
- 5.1
- Author:
- Michiel Meeuwissen
-
Nested Class Summary
-
Field Summary
Fields inherited from interface nl.vpro.i18n.Displayable
NULL
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<StreamingStatusImpl>
static StreamingStatusImpl.Builder
builder()
default ReadonlyStreamingStatus
copy()
static @NonNull StreamingStatus
copy
(StreamingStatus of) default String
default List<Encryption>
getEncryptionsForPrediction
(Prediction prediction) See wiki Given a prediction shows what kind of locations must be created by the authority location service.default Instant
getOffline
(boolean drm) default boolean
hasDrm()
default boolean
default boolean
default boolean
matches
(Encryption encryption) Matches with an encryption.default boolean
matches
(Prediction prediction) static List<StreamingStatusImpl>
static StreamingStatusImpl
offline()
static StreamingStatusImpl
offlineDrm
(StreamingStatus existing) static StreamingStatusImpl
offlineWithoutDrm
(StreamingStatus existing) default boolean
static boolean
static Encryption
preferredEncryption
(StreamingStatus streamingStatus) static StreamingStatusImpl
unset()
static StreamingStatusImpl
static StreamingStatusImpl
withDrm
(StreamingStatus existing) static StreamingStatusImpl
withoutDrm
(StreamingStatus existing) Methods inherited from interface nl.vpro.i18n.Displayable
display, getDisplayName, getIcon, getIconClass, getPluralDisplayName, getPluralDisplayName
-
Method Details
-
builder
-
unset
-
withDrm
-
withoutDrm
-
withAndWithoutDrm
-
offline
-
offlineDrm
-
offlineWithoutDrm
-
availableStatuses
-
notAvailableStatuses
-
copy
-
getWithDrm
StreamingStatus.Value getWithDrm() -
getWithoutDrm
StreamingStatus.Value getWithoutDrm() -
getWithDrmOffline
Instant getWithDrmOffline() -
getWithoutDrmOffline
Instant getWithoutDrmOffline() -
copy
-
hasDrm
default boolean hasDrm() -
onDvrWithDrm
default boolean onDvrWithDrm() -
hasWithoutDrm
default boolean hasWithoutDrm() -
isAvailable
default boolean isAvailable() -
online
-
preferredEncryption
-
matches
Matches with an encryption. -
matches
-
getDisplayName
- Specified by:
getDisplayName
in interfaceDisplayable
-
getEncryptionsForPrediction
See wiki Given a prediction shows what kind of locations must be created by the authority location service.- Returns:
- A list of
Encryption
s.
-
getOffline
-