MetricsRecordingHeader
extends Message
in package
Generated from protobuf message <code>livekit.MetricsRecordingHeader</code>
Table of Contents
Properties
- $duration : mixed
- milliseconds
- $room_id : mixed
- Generated from protobuf field <code>string room_id = 1;</code>
- $start_time : mixed
- Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 4;</code>
- $room_tags : mixed
- Generated from protobuf field <code>map<string, string> room_tags = 5;</code>
Methods
- __construct() : mixed
- Constructor.
- clearStartTime() : mixed
- getDuration() : int|string
- milliseconds
- getRoomId() : string
- Generated from protobuf field <code>string room_id = 1;</code>
- getRoomTags() : MapField
- Generated from protobuf field <code>map<string, string> room_tags = 5;</code>
- getStartTime() : Timestamp|null
- Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 4;</code>
- hasStartTime() : mixed
- setDuration() : $this
- milliseconds
- setRoomId() : $this
- Generated from protobuf field <code>string room_id = 1;</code>
- setRoomTags() : $this
- Generated from protobuf field <code>map<string, string> room_tags = 5;</code>
- setStartTime() : $this
- Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 4;</code>
Properties
$duration
milliseconds
protected
mixed
$duration
= 0
Generated from protobuf field uint64 duration = 3;
$room_id
Generated from protobuf field <code>string room_id = 1;</code>
protected
mixed
$room_id
= ''
$start_time
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 4;</code>
protected
mixed
$start_time
= null
$room_tags
Generated from protobuf field <code>map<string, string> room_tags = 5;</code>
private
mixed
$room_tags
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string $room_id @type int|string $duration milliseconds @type \Google\Protobuf\Timestamp $start_time @type array|\Google\Protobuf\Internal\MapField $room_tags}
clearStartTime()
public
clearStartTime() : mixed
getDuration()
milliseconds
public
getDuration() : int|string
Generated from protobuf field uint64 duration = 3;
Return values
int|stringgetRoomId()
Generated from protobuf field <code>string room_id = 1;</code>
public
getRoomId() : string
Return values
stringgetRoomTags()
Generated from protobuf field <code>map<string, string> room_tags = 5;</code>
public
getRoomTags() : MapField
Return values
MapFieldgetStartTime()
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 4;</code>
public
getStartTime() : Timestamp|null
Return values
Timestamp|nullhasStartTime()
public
hasStartTime() : mixed
setDuration()
milliseconds
public
setDuration(int|string $var) : $this
Generated from protobuf field uint64 duration = 3;
Parameters
- $var : int|string
Return values
$thissetRoomId()
Generated from protobuf field <code>string room_id = 1;</code>
public
setRoomId(string $var) : $this
Parameters
- $var : string
Return values
$thissetRoomTags()
Generated from protobuf field <code>map<string, string> room_tags = 5;</code>
public
setRoomTags(array<string|int, mixed>|MapField $var) : $this
Parameters
- $var : array<string|int, mixed>|MapField
Return values
$thissetStartTime()
Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 4;</code>
public
setStartTime(Timestamp $var) : $this
Parameters
- $var : Timestamp