1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- declare(strict_types=1);
- namespace OCP\SpeechToText;
- use InvalidArgumentException;
- use OCP\Files\File;
- use OCP\PreConditionNotMetException;
- use RuntimeException;
- interface ISpeechToTextManager {
-
- public function hasProviders(): bool;
-
- public function getProviders(): array;
-
- public function scheduleFileTranscription(File $file, ?string $userId, string $appId): void;
-
- public function cancelScheduledFileTranscription(File $file, ?string $userId, string $appId): void;
-
- public function transcribeFile(File $file, ?string $userId, string $appId): string;
- }
|