aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/public/SpeechToText/ISpeechToTextManager.php6
-rw-r--r--lib/public/TextProcessing/IManager.php6
-rw-r--r--lib/public/Translation/ITranslationManager.php6
3 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/SpeechToText/ISpeechToTextManager.php b/lib/public/SpeechToText/ISpeechToTextManager.php
index eff00ec0fa1..96973cfca08 100644
--- a/lib/public/SpeechToText/ISpeechToTextManager.php
+++ b/lib/public/SpeechToText/ISpeechToTextManager.php
@@ -41,6 +41,12 @@ interface ISpeechToTextManager {
public function hasProviders(): bool;
/**
+ * @return ISpeechToTextProvider[]
+ * @since 27.1.0
+ */
+ public function getProviders(): array;
+
+ /**
* Will schedule a transcription process in the background. The result will become available
* with the \OCP\SpeechToText\Events\TranscriptionFinishedEvent
* You should add context information to the context array to re-identify the transcription result as
diff --git a/lib/public/TextProcessing/IManager.php b/lib/public/TextProcessing/IManager.php
index 90e25894d4f..50d012eca68 100644
--- a/lib/public/TextProcessing/IManager.php
+++ b/lib/public/TextProcessing/IManager.php
@@ -42,6 +42,12 @@ interface IManager {
public function hasProviders(): bool;
/**
+ * @return IProvider[]
+ * @since 27.1.0
+ */
+ public function getProviders(): array;
+
+ /**
* @return class-string<ITaskType>[]
* @since 27.1.0
*/
diff --git a/lib/public/Translation/ITranslationManager.php b/lib/public/Translation/ITranslationManager.php
index 4450f19c424..5b342faea75 100644
--- a/lib/public/Translation/ITranslationManager.php
+++ b/lib/public/Translation/ITranslationManager.php
@@ -39,6 +39,12 @@ interface ITranslationManager {
public function hasProviders(): bool;
/**
+ * @return ITranslationProvider[]
+ * @since 27.1.0
+ */
+ public function getProviders(): array;
+
+ /**
* @since 26.0.0
*/
public function canDetectLanguage(): bool;