mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-03 01:28:17 +08:00
add pip backward/forward btns
Closes #2251 Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -73,13 +73,20 @@ abstract final class PiliAndroidHelper {
|
||||
}
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
static void enterPip(int width, int height, bool autoEnter) =>
|
||||
AndroidHelper.enterPip(
|
||||
width,
|
||||
height,
|
||||
autoEnter,
|
||||
PlatformDispatcher.instance.engineId!,
|
||||
);
|
||||
static void enterPip(
|
||||
int width,
|
||||
int height, {
|
||||
required bool autoEnter,
|
||||
required bool isLive,
|
||||
required bool isPlaying,
|
||||
}) => AndroidHelper.enterPip(
|
||||
PlatformDispatcher.instance.engineId!,
|
||||
width,
|
||||
height,
|
||||
autoEnter,
|
||||
isLive,
|
||||
isPlaying,
|
||||
);
|
||||
|
||||
@pragma('vm:prefer-inline')
|
||||
static void disableAutoEnterPip() =>
|
||||
|
||||
Reference in New Issue
Block a user