TranscriptionFailedEvent
extends AbstractTranscriptionEvent
in package
This Event is emitted if a transcription of a media file using a Speech-To-Text provider failed
Tags
Table of Contents
Properties
- $appId : string
- $errorMessage : string
- $file : File|null
- $fileIdId : int
- $propagationStopped : bool
- $userId : string|null
Methods
- __construct() : mixed
- Compatibility constructor
- getAppId() : string
- getErrorMessage() : string
- getFile() : File|null
- getFileId() : int
- getUserId() : string|null
- isPropagationStopped() : bool
- {@inheritDoc}
- stopPropagation() : void
- Stops the propagation of the event to further event listeners
Properties
$appId
private
string
$appId
$errorMessage
private
string
$errorMessage
$file
private
File|null
$file
$fileIdId
private
int
$fileIdId
$propagationStopped
private
bool
$propagationStopped
= false
Tags
$userId
private
string|null
$userId
Methods
__construct()
Compatibility constructor
public
__construct(int $fileId, File|null $file, string $errorMessage, string|null $userId, string $appId) : mixed
Parameters
- $fileId : int
- $file : File|null
- $errorMessage : string
- $userId : string|null
- $appId : string
Tags
getAppId()
public
getAppId() : string
Tags
Return values
stringgetErrorMessage()
public
getErrorMessage() : string
Tags
Return values
string —The error message
getFile()
public
getFile() : File|null
Tags
Return values
File|nullgetFileId()
public
getFileId() : int
Tags
Return values
intgetUserId()
public
getUserId() : string|null
Tags
Return values
string|nullisPropagationStopped()
{@inheritDoc}
public
isPropagationStopped() : bool
Tags
Return values
boolstopPropagation()
Stops the propagation of the event to further event listeners
public
stopPropagation() : void