1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-28 08:03:20 +00:00
NewPipe/app/src/main/java/org/schabi/newpipe/player/resolver/Resolver.java
litetex bb27bf9d34
Resolver: Cleaned up `isVideoStreamVideoOnly`
* Replaced by ``wasLastResolvedVideoAndAudioSeparated``
* Uses an ``Optional`` instead (we can't determine if the video and audio streams are separated when we did not fetch it)
2022-02-20 19:38:41 +01:00

10 lines
225 B
Java

package org.schabi.newpipe.player.resolver;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
public interface Resolver<Source, Product> {
@Nullable
Product resolve(@NonNull Source source);
}