Bitrix API

TransportAudioCall implements iBase, iDuration, iLimitation

Class TransportCall

Table of Contents

Interfaces

iBase
Interface iBase
iDuration
Interface iTransportDuration
iLimitation
Interface iLimitable

Constants

CODE  = self::CODE_AUDIO_CALL

Methods

__construct()  : mixed
end()  : void
End.
getCode()  : string
Get code.
getDuration()  : float
Get send duration in seconds.
getLimiters()  : array<string|int, iLimiter>
Get limiters.
getName()  : string
Get name.
getSupportedRecipientTypes()  : array<string|int, int>
Get supported recipient types.
loadConfiguration()  : string
Get configuration.
saveConfiguration()  : void
Save configuration.
send()  : bool
Send.
start()  : void
Start.

Constants

Methods

getDuration()

Get send duration in seconds.

public getDuration([Adapter|null $message = null ]) : float

Calc: length(message text based) + magic(connection time) / limit(because calls is parallel).

Parameters
$message : Adapter|null = null

Message.

Return values
float

getSupportedRecipientTypes()

Get supported recipient types.

public getSupportedRecipientTypes() : array<string|int, int>
Return values
array<string|int, int>

loadConfiguration()

Get configuration.

public loadConfiguration() : string
Return values
string

send()

Send.

public send(Adapter $message) : bool
Parameters
$message : Adapter

Message.

Tags
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
Return values
bool

        
On this page

Search results