Package knf.hydra.core.models.data
Class VideoDecoder
-
- All Implemented Interfaces:
public abstract class VideoDecoderRepresents a video decoder
-
-
Constructor Summary
Constructors Constructor Description VideoDecoder()
-
Method Summary
Modifier and Type Method Description abstract BooleancanDecode(String link)Check if this decoder can process the link abstract DecodeResultdecode(Context context, SourceItem item, BypassModel bypassModel)Try to decode the SourceItem -
-
Method Detail
-
canDecode
abstract Boolean canDecode(String link)
Check if this decoder can process the link
- Parameters:
link- Server link- Returns:
True if the decoder can process the link
-
decode
abstract DecodeResult decode(Context context, SourceItem item, BypassModel bypassModel)
Try to decode the SourceItem
- Parameters:
context- Contextitem- The item to decodebypassModel- Bypass data- Returns:
The result of the operation, DecodeResult.Success or DecodeResult.Failed
-
-
-
-