Bitrix API

SpeechRate

Class SpeechRate

Table of Contents

Methods

__construct()  : mixed
SpeechRate constructor.
create()  : static
Create instance.
getBaseInterval()  : int
Get base interval in seconds.
getDuration()  : int
Return speech duration of text.
getList()  : array<string|int, mixed>
Get list of rates: chars in 30 seconds.
withSpeed()  : $this
With speed.
withText()  : $this
With text.

Methods

__construct()

SpeechRate constructor.

public __construct() : mixed

create()

Create instance.

public static create() : static
Return values
static

getBaseInterval()

Get base interval in seconds.

public static getBaseInterval() : int
Return values
int

getDuration()

Return speech duration of text.

public getDuration() : int
Return values
int

getList()

Get list of rates: chars in 30 seconds.

public static getList() : array<string|int, mixed>
Return values
array<string|int, mixed>

withSpeed()

With speed.

public withSpeed([string|null $speedId = null ]) : $this
Parameters
$speedId : string|null = null
Return values
$this

withText()

With text.

public withText([string $text = '' ]) : $this
Parameters
$text : string = ''
Return values
$this

        
On this page

Search results