mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-18 16:30:11 +08:00
@@ -399,11 +399,6 @@ class PlPlayerController with BlockConfigMixin {
|
||||
return _playCallBack?.call();
|
||||
}
|
||||
|
||||
// try to get PlayerStatus
|
||||
static PlayerStatus? getPlayerStatusIfExists() {
|
||||
return _instance?.playerStatus.value;
|
||||
}
|
||||
|
||||
static Future<void> pauseIfExists({
|
||||
bool notify = true,
|
||||
bool isInterrupt = false,
|
||||
@@ -420,17 +415,6 @@ class PlPlayerController with BlockConfigMixin {
|
||||
await _instance?.seekTo(position, isSeek: isSeek);
|
||||
}
|
||||
|
||||
static double? getVolumeIfExists() {
|
||||
return _instance?.volume.value;
|
||||
}
|
||||
|
||||
static Future<void>? setVolumeIfExists(
|
||||
double volumeNew, {
|
||||
bool showIndicator = true,
|
||||
}) {
|
||||
return _instance?.setVolume(volumeNew, showIndicator: showIndicator);
|
||||
}
|
||||
|
||||
Box video = GStorage.video;
|
||||
|
||||
bool visible = true;
|
||||
|
||||
Reference in New Issue
Block a user