Skip to content

Commit

Permalink
Update OCP
Browse files Browse the repository at this point in the history
  • Loading branch information
nextcloud-command committed Aug 31, 2024
1 parent e641a03 commit b6538d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OCP/SpeechToText/ISpeechToTextManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit b6538d7

Please sign in to comment.