From b6538d7f14472c2ef6182c51df6be34cae033099 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sat, 31 Aug 2024 00:39:40 +0000 Subject: [PATCH] Update OCP --- OCP/SpeechToText/ISpeechToTextManager.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OCP/SpeechToText/ISpeechToTextManager.php b/OCP/SpeechToText/ISpeechToTextManager.php index 043dac0..6bd9519 100644 --- a/OCP/SpeechToText/ISpeechToTextManager.php +++ b/OCP/SpeechToText/ISpeechToTextManager.php @@ -59,11 +59,13 @@ public function cancelScheduledFileTranscription(File $file, ?string $userId, st /** * @param File $file The media file to transcribe + * @param ?string $userId The user that triggered this request + * @param string $appId The app that triggered this request * @returns string The transcription of the passed media file * @throws PreConditionNotMetException If no provider was registered but this method was still called * @throws InvalidArgumentException If the file could not be found or is not of a supported type * @throws RuntimeException If the transcription failed for other reasons * @since 27.0.0 */ - public function transcribeFile(File $file): string; + public function transcribeFile(File $file, ?string $userId, string $appId): string; }