TokenSourceResponse
extends Message
in package
Generated from protobuf message <code>livekit.TokenSourceResponse</code>
Table of Contents
Properties
- $participant_token : mixed
- Generated from protobuf field <code>string participant_token = 2;</code>
- $server_url : mixed
- Generated from protobuf field <code>string server_url = 1;</code>
Methods
- __construct() : mixed
- Constructor.
- getParticipantToken() : string
- Generated from protobuf field <code>string participant_token = 2;</code>
- getServerUrl() : string
- Generated from protobuf field <code>string server_url = 1;</code>
- setParticipantToken() : $this
- Generated from protobuf field <code>string participant_token = 2;</code>
- setServerUrl() : $this
- Generated from protobuf field <code>string server_url = 1;</code>
Properties
$participant_token
Generated from protobuf field <code>string participant_token = 2;</code>
protected
mixed
$participant_token
= ''
$server_url
Generated from protobuf field <code>string server_url = 1;</code>
protected
mixed
$server_url
= ''
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 $server_url @type string $participant_token}
getParticipantToken()
Generated from protobuf field <code>string participant_token = 2;</code>
public
getParticipantToken() : string
Return values
stringgetServerUrl()
Generated from protobuf field <code>string server_url = 1;</code>
public
getServerUrl() : string
Return values
stringsetParticipantToken()
Generated from protobuf field <code>string participant_token = 2;</code>
public
setParticipantToken(string $var) : $this
Parameters
- $var : string
Return values
$thissetServerUrl()
Generated from protobuf field <code>string server_url = 1;</code>
public
setServerUrl(string $var) : $this
Parameters
- $var : string