Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class TimeSlice.
TimeSlice represents a tuple of Unix epoch timestamps that specifies a time range.
Generated from protobuf message google.cloud.video.livestream.v1.Clip.TimeSlice
Namespace
Google \ Cloud \ Video \ LiveStream \ V1 \ ClipMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ markin_time |
Google\Protobuf\Timestamp
The mark-in Unix epoch time in the original live stream manifest. |
↳ markout_time |
Google\Protobuf\Timestamp
The mark-out Unix epoch time in the original live stream manifest. |
getMarkinTime
The mark-in Unix epoch time in the original live stream manifest.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasMarkinTime
clearMarkinTime
setMarkinTime
The mark-in Unix epoch time in the original live stream manifest.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getMarkoutTime
The mark-out Unix epoch time in the original live stream manifest.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasMarkoutTime
clearMarkoutTime
setMarkoutTime
The mark-out Unix epoch time in the original live stream manifest.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |