Documentation

TranscriptionSegment extends Message
in package

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

Table of Contents

Properties

$end_time  : mixed
Generated from protobuf field <code>uint64 end_time = 4;</code>
$final  : mixed
Generated from protobuf field <code>bool final = 5;</code>
$id  : mixed
Generated from protobuf field <code>string id = 1;</code>
$language  : mixed
Generated from protobuf field <code>string language = 6;</code>
$start_time  : mixed
Generated from protobuf field <code>uint64 start_time = 3;</code>
$text  : mixed
Generated from protobuf field <code>string text = 2;</code>

Methods

__construct()  : mixed
Constructor.
getEndTime()  : int|string
Generated from protobuf field <code>uint64 end_time = 4;</code>
getFinal()  : bool
Generated from protobuf field <code>bool final = 5;</code>
getId()  : string
Generated from protobuf field <code>string id = 1;</code>
getLanguage()  : string
Generated from protobuf field <code>string language = 6;</code>
getStartTime()  : int|string
Generated from protobuf field <code>uint64 start_time = 3;</code>
getText()  : string
Generated from protobuf field <code>string text = 2;</code>
setEndTime()  : $this
Generated from protobuf field <code>uint64 end_time = 4;</code>
setFinal()  : $this
Generated from protobuf field <code>bool final = 5;</code>
setId()  : $this
Generated from protobuf field <code>string id = 1;</code>
setLanguage()  : $this
Generated from protobuf field <code>string language = 6;</code>
setStartTime()  : $this
Generated from protobuf field <code>uint64 start_time = 3;</code>
setText()  : $this
Generated from protobuf field <code>string text = 2;</code>

Properties

$end_time

Generated from protobuf field <code>uint64 end_time = 4;</code>

protected mixed $end_time = 0

$final

Generated from protobuf field <code>bool final = 5;</code>

protected mixed $final = false

$language

Generated from protobuf field <code>string language = 6;</code>

protected mixed $language = ''

$start_time

Generated from protobuf field <code>uint64 start_time = 3;</code>

protected mixed $start_time = 0

$text

Generated from protobuf field <code>string text = 2;</code>

protected mixed $text = ''

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 $id
@type string $text
@type int|string $start_time
@type int|string $end_time
@type bool $final
@type string $language

}

getEndTime()

Generated from protobuf field <code>uint64 end_time = 4;</code>

public getEndTime() : int|string
Return values
int|string

getFinal()

Generated from protobuf field <code>bool final = 5;</code>

public getFinal() : bool
Return values
bool

getId()

Generated from protobuf field <code>string id = 1;</code>

public getId() : string
Return values
string

getLanguage()

Generated from protobuf field <code>string language = 6;</code>

public getLanguage() : string
Return values
string

getStartTime()

Generated from protobuf field <code>uint64 start_time = 3;</code>

public getStartTime() : int|string
Return values
int|string

getText()

Generated from protobuf field <code>string text = 2;</code>

public getText() : string
Return values
string

setEndTime()

Generated from protobuf field <code>uint64 end_time = 4;</code>

public setEndTime(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setFinal()

Generated from protobuf field <code>bool final = 5;</code>

public setFinal(bool $var) : $this
Parameters
$var : bool
Return values
$this

setId()

Generated from protobuf field <code>string id = 1;</code>

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

setLanguage()

Generated from protobuf field <code>string language = 6;</code>

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

setStartTime()

Generated from protobuf field <code>uint64 start_time = 3;</code>

public setStartTime(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setText()

Generated from protobuf field <code>string text = 2;</code>

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

        
On this page

Search results