summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-17 14:47:21 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-04-17 14:57:19 +0200
commitad1a0d88ef4a086eb20a743d04f322b9dd888636 (patch)
tree70f0e1a5c8092c5bb3d9e9a7b56c412379c92665 /lib
parent71523b9816b1162f30ca8d682b8d410edc6d9cfc (diff)
downloadnextcloud-server-ad1a0d88ef4a086eb20a743d04f322b9dd888636.tar.gz
nextcloud-server-ad1a0d88ef4a086eb20a743d04f322b9dd888636.zip
Transcription*Event: Add doc block
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/public/SpeechToText/Events/TranscriptionFailedEvent.php4
-rw-r--r--lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php b/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php
index 02777b7ebc0..e9a096cfb83 100644
--- a/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php
+++ b/lib/public/SpeechToText/Events/TranscriptionFailedEvent.php
@@ -28,6 +28,10 @@ namespace OCP\SpeechToText\Events;
use OCP\Files\File;
+/**
+ * This Event is emitted if a transcription of a media file using a Speech-To-Text provider failed
+ * @since 27.0.0
+ */
class TranscriptionFailedEvent extends AbstractTranscriptionEvent {
/**
diff --git a/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php b/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php
index b37a07e3a22..66e24b0566d 100644
--- a/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php
+++ b/lib/public/SpeechToText/Events/TranscriptionSuccessfulEvent.php
@@ -28,6 +28,10 @@ namespace OCP\SpeechToText\Events;
use OCP\Files\File;
+/**
+ * This Event is emitted when a transcription of a media file happened successfully
+ * @since 27.0.0
+ */
class TranscriptionSuccessfulEvent extends AbstractTranscriptionEvent {
/**