Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс AudioCall

Открытые статические члены

static getSupportedLangs ()
 
static onPresetTemplateList ($templateType=null, $templateId=null, $messageCode=null)
 
static getAudioFileUrlByCode ($code)
 
static presetExists ($code)
 
static getDurationByCode ($code)
 
static getDefaultCode ()
 

Открытые атрибуты

const AUDIO_DIR = 'http://dl.bitrix24.com/sender/audiocall/'
 
const METADATA_FILE = 'http://dl.bitrix24.com/sender/audiocall/metadata.json'
 

Подробное описание

См. определение в файле audiocall.php строка 25

Методы

◆ getAudioFileUrlByCode()

static getAudioFileUrlByCode ( $code)
static

Get audio file url by preset code

Аргументы
string$codePreset code.
Возвращает
bool|string

См. определение в файле audiocall.php строка 67

◆ getDefaultCode()

static getDefaultCode ( )
static

Get default preset code

Возвращает
mixed

См. определение в файле audiocall.php строка 103

◆ getDurationByCode()

static getDurationByCode ( $code)
static

Get audio duration by preset code

Аргументы
string$codePreset code.
Возвращает
bool|int

См. определение в файле audiocall.php строка 92

◆ getSupportedLangs()

static getSupportedLangs ( )
static

Get supported lang codes

Возвращает
array

См. определение в файле audiocall.php строка 34

◆ onPresetTemplateList()

static onPresetTemplateList ( $templateType = null,
$templateId = null,
$messageCode = null )
static

Return base templates.

Аргументы
string | null$templateTypeTemplate type.
string | null$templateIdTemplate ID.
string | null$messageCodeMessage code.
Возвращает
array

См. определение в файле audiocall.php строка 48

◆ presetExists()

static presetExists ( $code)
static

Does preset exists

Аргументы
string$codePreset code.
Возвращает
bool

См. определение в файле audiocall.php строка 82

Данные класса

◆ AUDIO_DIR

const AUDIO_DIR = 'http://dl.bitrix24.com/sender/audiocall/'

См. определение в файле audiocall.php строка 27

◆ METADATA_FILE

const METADATA_FILE = 'http://dl.bitrix24.com/sender/audiocall/metadata.json'

См. определение в файле audiocall.php строка 28