|
| getId () |
| getType () |
| getScheme () |
| getProvider () |
| getInitiatorId () |
| getActionUserId () |
| addErrors (array $errors) |
| getErrors () |
| addError (Error $error) |
| hasErrors () |
| setActionUserId (int $byUserId) |
| getUser ($userId) |
| getUsers () |
| getCallUsers () |
| getUserData () |
| prepareUserData (array $users) |
| getUserRoles (array $users=[]) |
| hasUser ($userId) |
| addUser ($newUserId) |
| removeUser ($userId) |
| hasActiveUsers (bool $strict=true) |
| getSignaling () |
| getAssociatedEntity () |
| setAssociatedEntity ($entityType, $entityId) |
| checkAccess ($userId) |
| getState () |
| getParentId () |
| getParentUuid () |
| getChatId () |
| getUuid () |
| getSecretKey () |
| getEndpoint () |
| getStartDate () |
| getEndDate () |
| getDuration () |
| autoStartRecording () |
| getUserCount () |
| isAudioRecordEnabled () |
| enableAudioRecord () |
| disableAudioRecord () |
| isAiAnalyzeEnabled () |
| enableAiAnalyze () |
| disableAiAnalyze () |
| inviteUsers (int $senderId, array $toUserIds, $isLegacyMobile, $video=false, $sendPush=true) |
| sendInviteUsers (int $senderId, array $toUserIds, $isLegacyMobile, $video=false, $sendPush=true, string $sendMode=Signaling::MODE_ALL) |
| updateState ($state) |
| setLogUrl (string $logUrl) |
| setEndpoint ($endpoint) |
| finish () |
| getConnectionData (int $userId) |
| toArray ($currentUserId=0, $withSecrets=false) |
| save () |
| makeClone ($newProvider=null) |
| createChildCall (string $newUuid, string $entityId, string $newProvider=null, int $scheme=null, int $newInitiator=null,) |
| getMaxUsers () |
| getLogToken (int $userId=0, int $ttl=3600) |
См. определение в файле call.php строка 23
◆ __construct()
Use one of the named constructors
См. определение в файле call.php строка 95
◆ addError()
Upends stack of errors.
- Аргументы
-
Error | $error | Error message object. |
- Возвращает
- void
См. определение в файле call.php строка 180
◆ addErrors()
addErrors |
( |
array | $errors | ) |
|
Add multiple errors
- Аргументы
-
См. определение в файле call.php строка 153
◆ addUser()
Adds new user to the call.
- Аргументы
-
- Возвращает
- CallUser|null
См. определение в файле call.php строка 321
◆ autoStartRecording()
Do need to record call.
- Возвращает
- bool
См. определение в файле call.php строка 538
◆ checkAccess()
Returns true if specified user has access to the call.
- Аргументы
-
int | $userId | Id of the user. |
- Возвращает
- bool
См. определение в файле call.php строка 438
◆ createCallInstance()
createCallInstance |
( |
array | $fields | ) |
|
|
static |
Creates new instance of the Call with values from the database.
- Аргументы
-
- Возвращает
- Call
См. определение в файле call.php строка 1237
◆ createChildCall()
createChildCall |
( |
string | $newUuid, |
|
|
string | $entityId, |
|
|
string | $newProvider = null, |
|
|
int | $scheme = null, |
|
|
int | $newInitiator = null ) |
◆ createWithArray()
createWithArray |
( |
array | $fields | ) |
|
|
static |
Creates new instance of the Call with values from the database.
- Аргументы
-
- Возвращает
- Call
См. определение в файле call.php строка 1222
◆ createWithEntity()
createWithEntity |
( |
int | $type, |
|
|
string | $provider, |
|
|
string | $entityType, |
|
|
string | $entityId, |
|
|
int | $initiatorId, |
|
|
?string | $callUuid, |
|
|
?int | $scheme = null ) |
|
static |
Use this constructor only for creating new calls
См. определение в файле call.php строка 1108
◆ disableAiAnalyze()
Disable AI analyze.
- Возвращает
- self
См. определение в файле call.php строка 633
◆ disableAudioRecord()
Disable record call.
- Возвращает
- self
См. определение в файле call.php строка 604
◆ enableAiAnalyze()
Do AI analyze.
- Возвращает
- self
См. определение в файле call.php строка 623
◆ enableAudioRecord()
Do need to record call.
- Возвращает
- self
См. определение в файле call.php строка 594
◆ finish()
◆ fireCallFinishedEvent()
fireCallFinishedEvent |
( |
| ) |
|
|
protected |
@event call:onCallFinished
- Возвращает
- Event
См. определение в файле call.php строка 749
◆ fireCallStartedEvent()
@event call:onCallStarted
- Возвращает
- Event
См. определение в файле call.php строка 737
◆ getActionUserId()
- Возвращает
- int|null
См. определение в файле call.php строка 142
◆ getAssociatedEntity()
- Возвращает
- Integration\AbstractEntity|Integration\Chat|null
См. определение в файле call.php строка 401
◆ getCallUsers()
Returns arrays of the users, currently participating in the call.
- Возвращает
- CallUser[]
См. определение в файле call.php строка 237
◆ getChatId()
Returns id of the chat, associated with the call.
- Возвращает
- int
См. определение в файле call.php строка 480
◆ getConnectionData()
getConnectionData |
( |
int | $userId | ) |
|
◆ getCurrentUserId()
◆ getDuration()
Returns call duration.
- Возвращает
- int
См. определение в файле call.php строка 524
◆ getEndDate()
Returns date of the call end (if there is one).
- Возвращает
- DateTime|null
См. определение в файле call.php строка 515
◆ getEndpoint()
◆ getErrors()
- Возвращает
- Error[]
См. определение в файле call.php строка 165
◆ getId()
- Возвращает
- int
См. определение в файле call.php строка 102
◆ getInitiatorId()
- Возвращает
- int
См. определение в файле call.php строка 134
◆ getLogService()
◆ getLogToken()
getLogToken |
( |
int | $userId = 0, |
|
|
int | $ttl = 3600 ) |
◆ getMaxCallLimit()
◆ getMaxCallServerParticipants()
getMaxCallServerParticipants |
( |
| ) |
|
|
static |
◆ getMaxParticipants()
◆ getMaxUsers()
◆ getParentId()
- Возвращает
- int|null
См. определение в файле call.php строка 462
◆ getParentUuid()
- Возвращает
- string|null
См. определение в файле call.php строка 470
◆ getProvider()
- Возвращает
- string
См. определение в файле call.php строка 126
◆ getScheme()
- Возвращает
- int
См. определение в файле call.php строка 118
◆ getSecretKey()
◆ getSignaling()
◆ getStartDate()
Returns date of the call start.
- Возвращает
- DateTime
См. определение в файле call.php строка 505
◆ getState()
- Возвращает
- string
См. определение в файле call.php строка 454
◆ getTurnServer()
◆ getType()
- Возвращает
- int
См. определение в файле call.php строка 110
◆ getUser()
- Аргументы
-
- Возвращает
- CallUser|null
См. определение в файле call.php строка 217
◆ getUserCount()
◆ getUserData()
Returns arrays of information about the users currently participating in the call.
- Возвращает
- array
См. определение в файле call.php строка 247
◆ getUserRoles()
getUserRoles |
( |
array | $users = [] | ) |
|
Returns user's roles in the call.
- Аргументы
-
- Возвращает
- array
См. определение в файле call.php строка 279
◆ getUsers()
Returns arrays of ids of the users, currently participating in the call.
- Возвращает
- int[]
См. определение в файле call.php строка 227
◆ getUuid()
◆ hasActiveUsers()
hasActiveUsers |
( |
bool | $strict = true | ) |
|
Call is considered active if it has at least:
- one user in ready state
- another user in ready or calling state
- Возвращает
- bool
См. определение в файле call.php строка 368
◆ hasErrors()
Tells true if error have happened.
- Возвращает
- boolean
См. определение в файле call.php строка 193
◆ hasUser()
Return true if a user is the part of the call.
- Аргументы
-
int | $userId | Id of the user. |
- Возвращает
- bool
См. определение в файле call.php строка 309
◆ initCall()
◆ inviteUsers()
inviteUsers |
( |
int | $senderId, |
|
|
array | $toUserIds, |
|
|
| $isLegacyMobile, |
|
|
| $video = false, |
|
|
| $sendPush = true ) |
◆ isAiAnalyzeEnabled()
Analyze call with AI enabled.
- Возвращает
- bool
См. определение в файле call.php строка 614
◆ isAudioRecordEnabled()
Record call.
- Возвращает
- bool
См. определение в файле call.php строка 585
◆ isBitrixCallEnabled()
◆ isCallServerEnabled()
◆ isFeedbackAllowed()
◆ isIosBetaEnabled()
◆ loadUsers()
◆ loadWithId()
◆ loadWithUuid()
◆ makeClone()
makeClone |
( |
| $newProvider = null | ) |
|
◆ onVoximplantConferenceFinished()
onVoximplantConferenceFinished |
( |
Event | $event | ) |
|
|
static |
◆ prepareUserData()
prepareUserData |
( |
array | $users | ) |
|
- Аргументы
-
- Возвращает
- array
См. определение в файле call.php строка 261
◆ removeUser()
◆ save()
◆ saveStat()
◆ sendCreateCallEvent()
sendCreateCallEvent |
( |
Call | $instance | ) |
|
|
staticprotected |
◆ sendInviteUsers()
sendInviteUsers |
( |
int | $senderId, |
|
|
array | $toUserIds, |
|
|
| $isLegacyMobile, |
|
|
| $video = false, |
|
|
| $sendPush = true, |
|
|
string | $sendMode = Signaling::MODE_ALL ) |
◆ setActionUserId()
setActionUserId |
( |
int | $byUserId | ) |
|
◆ setAssociatedEntity()
setAssociatedEntity |
( |
| $entityType, |
|
|
| $entityId ) |
- Аргументы
-
string | $entityType | |
int | $entityId | |
- Возвращает
- void
- Исключения
-
См. определение в файле call.php строка 412
◆ setEndpoint()
◆ setLogUrl()
setLogUrl |
( |
string | $logUrl | ) |
|
◆ toArray()
toArray |
( |
| $currentUserId = 0, |
|
|
| $withSecrets = false ) |
◆ updateState()
◆ $actionUserId
◆ $associatedEntity
Integration AbstractEntity $associatedEntity = null |
|
protected |
◆ $chatId
◆ $enableAiAnalyze
Record will be analyzed with AI
См. определение в файле call.php строка 80
◆ $enableAudioRecord
Current record status
См. определение в файле call.php строка 75
◆ $endDate
◆ $endpoint
◆ $entityId
◆ $entityType
◆ $errorCollection
◆ $id
◆ $initiatorId
◆ $isPublic
◆ $logUrl
◆ $parentId
◆ $parentUuid
◆ $provider
◆ $publicId
◆ $scheme
◆ $secretKey
◆ $signaling
◆ $startDate
◆ $state
◆ $type
◆ $userData
◆ $users
◆ $uuid
◆ PROVIDER_BITRIX
const PROVIDER_BITRIX = 'Bitrix' |
◆ PROVIDER_PLAIN
const PROVIDER_PLAIN = 'Plain' |
◆ PROVIDER_VOXIMPLANT
const PROVIDER_VOXIMPLANT = 'Voximplant' |
◆ SCHEME_CLASSIC
◆ SCHEME_JWT
◆ STATE_ANSWERED
const STATE_ANSWERED = 'answered' |
◆ STATE_FINISHED
const STATE_FINISHED = 'finished' |
◆ STATE_INVITING
const STATE_INVITING = 'inviting' |
◆ STATE_NEW
◆ TYPE_INSTANT
◆ TYPE_LANGE
◆ TYPE_PERMANENT
Объявления и описания членов класса находятся в файле: