cloud_bbb/lib/Event/RoomEndedEvent.php

20 lines
385 B
PHP

<?php
namespace OCA\BigBlueButton\Event;
use OCA\BigBlueButton\Db\Room;
abstract class RoomEndedEvent extends RoomEvent {
private $recordingMarks = false;
public function __construct(Room $room, bool $recordingMarks) {
parent::__construct($room);
$this->recordingMarks = $recordingMarks;
}
public function hasRecordingMarks(): bool {
return $this->recordingMarks;
}
}