FileInfo
extends Message
in package
Generated from protobuf message <code>livekit.FileInfo</code>
Table of Contents
Properties
- $duration : mixed
- Generated from protobuf field <code>int64 duration = 6;</code>
- $ended_at : mixed
- Generated from protobuf field <code>int64 ended_at = 3;</code>
- $filename : mixed
- Generated from protobuf field <code>string filename = 1;</code>
- $location : mixed
- Generated from protobuf field <code>string location = 5;</code>
- $size : mixed
- Generated from protobuf field <code>int64 size = 4;</code>
- $started_at : mixed
- Generated from protobuf field <code>int64 started_at = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getDuration() : int|string
- Generated from protobuf field <code>int64 duration = 6;</code>
- getEndedAt() : int|string
- Generated from protobuf field <code>int64 ended_at = 3;</code>
- getFilename() : string
- Generated from protobuf field <code>string filename = 1;</code>
- getLocation() : string
- Generated from protobuf field <code>string location = 5;</code>
- getSize() : int|string
- Generated from protobuf field <code>int64 size = 4;</code>
- getStartedAt() : int|string
- Generated from protobuf field <code>int64 started_at = 2;</code>
- setDuration() : $this
- Generated from protobuf field <code>int64 duration = 6;</code>
- setEndedAt() : $this
- Generated from protobuf field <code>int64 ended_at = 3;</code>
- setFilename() : $this
- Generated from protobuf field <code>string filename = 1;</code>
- setLocation() : $this
- Generated from protobuf field <code>string location = 5;</code>
- setSize() : $this
- Generated from protobuf field <code>int64 size = 4;</code>
- setStartedAt() : $this
- Generated from protobuf field <code>int64 started_at = 2;</code>
Properties
$duration
Generated from protobuf field <code>int64 duration = 6;</code>
protected
mixed
$duration
= 0
$ended_at
Generated from protobuf field <code>int64 ended_at = 3;</code>
protected
mixed
$ended_at
= 0
$filename
Generated from protobuf field <code>string filename = 1;</code>
protected
mixed
$filename
= ''
$location
Generated from protobuf field <code>string location = 5;</code>
protected
mixed
$location
= ''
$size
Generated from protobuf field <code>int64 size = 4;</code>
protected
mixed
$size
= 0
$started_at
Generated from protobuf field <code>int64 started_at = 2;</code>
protected
mixed
$started_at
= 0
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 $filename @type int|string $started_at @type int|string $ended_at @type int|string $duration @type int|string $size @type string $location}
getDuration()
Generated from protobuf field <code>int64 duration = 6;</code>
public
getDuration() : int|string
Return values
int|stringgetEndedAt()
Generated from protobuf field <code>int64 ended_at = 3;</code>
public
getEndedAt() : int|string
Return values
int|stringgetFilename()
Generated from protobuf field <code>string filename = 1;</code>
public
getFilename() : string
Return values
stringgetLocation()
Generated from protobuf field <code>string location = 5;</code>
public
getLocation() : string
Return values
stringgetSize()
Generated from protobuf field <code>int64 size = 4;</code>
public
getSize() : int|string
Return values
int|stringgetStartedAt()
Generated from protobuf field <code>int64 started_at = 2;</code>
public
getStartedAt() : int|string
Return values
int|stringsetDuration()
Generated from protobuf field <code>int64 duration = 6;</code>
public
setDuration(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetEndedAt()
Generated from protobuf field <code>int64 ended_at = 3;</code>
public
setEndedAt(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetFilename()
Generated from protobuf field <code>string filename = 1;</code>
public
setFilename(string $var) : $this
Parameters
- $var : string
Return values
$thissetLocation()
Generated from protobuf field <code>string location = 5;</code>
public
setLocation(string $var) : $this
Parameters
- $var : string
Return values
$thissetSize()
Generated from protobuf field <code>int64 size = 4;</code>
public
setSize(int|string $var) : $this
Parameters
- $var : int|string
Return values
$thissetStartedAt()
Generated from protobuf field <code>int64 started_at = 2;</code>
public
setStartedAt(int|string $var) : $this
Parameters
- $var : int|string