| 1234567891011121314151617181920212223242526272829 |
- import '../models/jellyfin_playback.dart';
- /// Android playback boundary. The native implementation owns the Media3
- /// service; tests use a fake that records commands and returns snapshots.
- abstract class JellyfinPlaybackPlatform {
- Future<bool> setQueue(JellyfinPlaybackQueue queue);
- Future<bool> play();
- Future<bool> pause();
- Future<bool> next();
- Future<bool> previous();
- Future<bool> seekToIndex(int index);
- Future<bool> seek(Duration position);
- Future<bool> stop();
- Future<JellyfinPlaybackSnapshot> getState();
- Future<bool> notificationPermissionGranted();
- Future<bool> requestNotificationPermission();
- void dispose() {}
- }
|