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}
getSegments()
Generated from protobuf field <code>repeated .livekit.TranscriptionSegment segments = 4;</code>
public
getSegments() : RepeatedField<string|int, TranscriptionSegment>
Return values
RepeatedField<string|int, TranscriptionSegment>getTrackId()
Generated from protobuf field <code>string track_id = 3;</code>
public
getTrackId() : string
Return values
stringgetTranscribedParticipantIdentity()
Participant that got its speech transcribed
public
getTranscribedParticipantIdentity() : string
Generated from protobuf field string transcribed_participant_identity = 2;
Return values
stringsetSegments()
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
$thissetTrackId()
Generated from protobuf field <code>string track_id = 3;</code>
public
setTrackId(string $var) : $this
Parameters
- $var : string
Return values
$thissetTranscribedParticipantIdentity()
Participant that got its speech transcribed
public
setTranscribedParticipantIdentity(string $var) : $this
Generated from protobuf field string transcribed_participant_identity = 2;
Parameters
- $var : string