spotube/lib/services/youtube_engine/youtube_engine.dart
2025-07-18 10:34:21 +06:00

17 lines
473 B
Dart

import 'package:youtube_explode_dart/youtube_explode_dart.dart';
abstract interface class YouTubeEngine {
static bool get isAvailableForPlatform => false;
static Future<bool> isInstalled() async {
return false;
}
Future<Video> getVideo(String videoId);
Future<StreamManifest> getStreamManifest(String videoId);
Future<(Video, StreamManifest)> getVideoWithStreamInfo(String videoId);
Future<List<Video>> searchVideos(String query);
void dispose();
}