ParticipantVideo
extends Message
in package
Generated from protobuf message <code>livekit.ParticipantVideo</code>
Table of Contents
Properties
- $identity : mixed
- Generated from protobuf field <code>string identity = 1;</code>
- $prefer_screen_share : mixed
- Generated from protobuf field <code>bool prefer_screen_share = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getIdentity() : string
- Generated from protobuf field <code>string identity = 1;</code>
- getPreferScreenShare() : bool
- Generated from protobuf field <code>bool prefer_screen_share = 2;</code>
- setIdentity() : $this
- Generated from protobuf field <code>string identity = 1;</code>
- setPreferScreenShare() : $this
- Generated from protobuf field <code>bool prefer_screen_share = 2;</code>
Properties
$identity
Generated from protobuf field <code>string identity = 1;</code>
protected
mixed
$identity
= ''
$prefer_screen_share
Generated from protobuf field <code>bool prefer_screen_share = 2;</code>
protected
mixed
$prefer_screen_share
= false
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 $identity @type bool $prefer_screen_share}
getIdentity()
Generated from protobuf field <code>string identity = 1;</code>
public
getIdentity() : string
Return values
stringgetPreferScreenShare()
Generated from protobuf field <code>bool prefer_screen_share = 2;</code>
public
getPreferScreenShare() : bool
Return values
boolsetIdentity()
Generated from protobuf field <code>string identity = 1;</code>
public
setIdentity(string $var) : $this
Parameters
- $var : string
Return values
$thissetPreferScreenShare()
Generated from protobuf field <code>bool prefer_screen_share = 2;</code>
public
setPreferScreenShare(bool $var) : $this
Parameters
- $var : bool