Documentation

Transcription extends Message
in package

Generated from protobuf message <code>livekit.Transcription</code>

Table of Contents

Properties

$track_id  : mixed
Generated from protobuf field <code>string track_id = 3;</code>
$transcribed_participant_identity  : mixed
Participant that got its speech transcribed
$segments  : mixed
Generated from protobuf field <code>repeated .livekit.TranscriptionSegment segments = 4;</code>

Methods

__construct()  : mixed
Constructor.
getSegments()  : RepeatedField<string|int, TranscriptionSegment>
Generated from protobuf field <code>repeated .livekit.TranscriptionSegment segments = 4;</code>
getTrackId()  : string
Generated from protobuf field <code>string track_id = 3;</code>
getTranscribedParticipantIdentity()  : string
Participant that got its speech transcribed
setSegments()  : $this
Generated from protobuf field <code>repeated .livekit.TranscriptionSegment segments = 4;</code>
setTrackId()  : $this
Generated from protobuf field <code>string track_id = 3;</code>
setTranscribedParticipantIdentity()  : $this
Participant that got its speech transcribed

Properties

$track_id

Generated from protobuf field <code>string track_id = 3;</code>

protected mixed $track_id = ''

$transcribed_participant_identity

Participant that got its speech transcribed

protected mixed $transcribed_participant_identity = ''

Generated from protobuf field string transcribed_participant_identity = 2;

$segments

Generated from protobuf field <code>repeated .livekit.TranscriptionSegment segments = 4;</code>

private mixed $segments

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type string $transcribed_participant_identity
      Participant that got its speech transcribed
@type string $track_id
@type \Livekit\TranscriptionSegment[] $segments

}

getTrackId()

Generated from protobuf field <code>string track_id = 3;</code>

public getTrackId() : string
Return values
string

getTranscribedParticipantIdentity()

Participant that got its speech transcribed

public getTranscribedParticipantIdentity() : string

Generated from protobuf field string transcribed_participant_identity = 2;

Return values
string

setSegments()

Generated from protobuf field <code>repeated .livekit.TranscriptionSegment segments = 4;</code>

public setSegments(array<string|int, TranscriptionSegment$var) : $this
Parameters
$var : array<string|int, TranscriptionSegment>
Return values
$this

setTrackId()

Generated from protobuf field <code>string track_id = 3;</code>

public setTrackId(string $var) : $this
Parameters
$var : string
Return values
$this

setTranscribedParticipantIdentity()

Participant that got its speech transcribed

public setTranscribedParticipantIdentity(string $var) : $this

Generated from protobuf field string transcribed_participant_identity = 2;

Parameters
$var : string
Return values
$this

        
On this page

Search results