Nextcloud PHP API (master)

TranscriptionFailedEvent extends AbstractTranscriptionEvent
in package

This Event is emitted if a transcription of a media file using a Speech-To-Text provider failed

Tags
since
27.0.0

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

$propagationStopped

private bool $propagationStopped = false
Tags
since
22.0.0

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
since
27.0.0

getErrorMessage()

public getErrorMessage() : string
Tags
since
27.0.0
Return values
string

The error message

isPropagationStopped()

{@inheritDoc}

public isPropagationStopped() : bool
Tags
since
22.0.0
see
StoppableEventInterface
Return values
bool

stopPropagation()

Stops the propagation of the event to further event listeners

public stopPropagation() : void
Tags
since
22.0.0

        
On this page

Search results