• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

littleredbutton / bigbluebutton-api-php / 8047623130

26 Feb 2024 10:49AM UTC coverage: 94.521% (-0.4%) from 94.875%
8047623130

Pull #181

github

web-flow
Merge d9c7bcc2f into bcd5208d9
Pull Request #181: Recording response errors

0 of 3 new or added lines in 3 files covered. (0.0%)

5 existing lines in 2 files now uncovered.

759 of 803 relevant lines covered (94.52%)

34.86 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/src/Responses/PutRecordingTextTrackResponse.php
1
<?php
2
/**
3
 * BigBlueButton open source conferencing system - https://www.bigbluebutton.org/.
4
 *
5
 * Copyright (c) 2016-2018 BigBlueButton Inc. and by respective authors (see below).
6
 *
7
 * This program is free software; you can redistribute it and/or modify it under the
8
 * terms of the GNU Lesser General Public License as published by the Free Software
9
 * Foundation; either version 3.0 of the License, or (at your option) any later
10
 * version.
11
 *
12
 * BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
13
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU Lesser General Public License along
17
 * with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
18
 */
19

20
namespace BigBlueButton\Responses;
21

22
/**
23
 * Class PutRecordingTextTracksResponse.
24
 */
25
class PutRecordingTextTrackResponse extends BaseResponseAsJson
26
{
27
    public const KEY_SUCCESS = 'upload_text_track_success';
28
    public const KEY_FAILED = 'upload_text_track_failed';
29
    public const KEY_EMPTY = 'empty_uploaded_text_track';
30
    public const KEY_PARAM_ERROR = 'paramError';
31

32
    public function getRecordID(): string
33
    {
34
        return $this->data->response->recordId;
1✔
35
    }
36

37
    public function isUploadTrackSuccess(): bool
38
    {
UNCOV
39
        return $this->getMessageKey() === self::KEY_SUCCESS;
×
40
    }
41

42
    public function isUploadTrackFailed(): bool
43
    {
UNCOV
44
        return $this->getMessageKey() === self::KEY_FAILED;
×
45
    }
46

47
    public function isUploadTrackEmpty(): bool
48
    {
UNCOV
49
        return $this->getMessageKey() === self::KEY_EMPTY;
×
50
    }
51

52
    public function isKeyParamError(): bool
53
    {
UNCOV
54
        return $this->getMessageKey() === self::KEY_PARAM_ERROR;
×
55
    }
56
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc