mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
18 lines
491 B
Dart
18 lines
491 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'cast_manager_state.freezed.dart';
|
|
|
|
enum CastDestinationType { googleCast }
|
|
|
|
enum CastState { idle, playing, paused, buffering }
|
|
|
|
@freezed
|
|
abstract class CastManagerState with _$CastManagerState {
|
|
const factory CastManagerState({
|
|
required bool isCasting,
|
|
required String receiverName,
|
|
required CastState castState,
|
|
required Duration currentTime,
|
|
required Duration duration,
|
|
}) = _CastManagerState;
|
|
}
|