EncryptedPacketPayload
extends Message
in package
Generated from protobuf message <code>livekit.EncryptedPacketPayload</code>
Table of Contents
Properties
- $value : mixed
Methods
- __construct() : mixed
- Constructor.
- getChatMessage() : ChatMessage|null
- Generated from protobuf field <code>.livekit.ChatMessage chat_message = 3;</code>
- getRpcAck() : RpcAck|null
- Generated from protobuf field <code>.livekit.RpcAck rpc_ack = 5;</code>
- getRpcRequest() : RpcRequest|null
- Generated from protobuf field <code>.livekit.RpcRequest rpc_request = 4;</code>
- getRpcResponse() : RpcResponse|null
- Generated from protobuf field <code>.livekit.RpcResponse rpc_response = 6;</code>
- getStreamChunk() : Chunk|null
- Generated from protobuf field <code>.livekit.DataStream.Chunk stream_chunk = 8;</code>
- getStreamHeader() : Header|null
- Generated from protobuf field <code>.livekit.DataStream.Header stream_header = 7;</code>
- getStreamTrailer() : Trailer|null
- Generated from protobuf field <code>.livekit.DataStream.Trailer stream_trailer = 9;</code>
- getUser() : UserPacket|null
- Generated from protobuf field <code>.livekit.UserPacket user = 1;</code>
- getValue() : string
- hasChatMessage() : mixed
- hasRpcAck() : mixed
- hasRpcRequest() : mixed
- hasRpcResponse() : mixed
- hasStreamChunk() : mixed
- hasStreamHeader() : mixed
- hasStreamTrailer() : mixed
- hasUser() : mixed
- setChatMessage() : $this
- Generated from protobuf field <code>.livekit.ChatMessage chat_message = 3;</code>
- setRpcAck() : $this
- Generated from protobuf field <code>.livekit.RpcAck rpc_ack = 5;</code>
- setRpcRequest() : $this
- Generated from protobuf field <code>.livekit.RpcRequest rpc_request = 4;</code>
- setRpcResponse() : $this
- Generated from protobuf field <code>.livekit.RpcResponse rpc_response = 6;</code>
- setStreamChunk() : $this
- Generated from protobuf field <code>.livekit.DataStream.Chunk stream_chunk = 8;</code>
- setStreamHeader() : $this
- Generated from protobuf field <code>.livekit.DataStream.Header stream_header = 7;</code>
- setStreamTrailer() : $this
- Generated from protobuf field <code>.livekit.DataStream.Trailer stream_trailer = 9;</code>
- setUser() : $this
- Generated from protobuf field <code>.livekit.UserPacket user = 1;</code>
Properties
$value
protected
mixed
$value
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 \Livekit\UserPacket $user @type \Livekit\ChatMessage $chat_message @type \Livekit\RpcRequest $rpc_request @type \Livekit\RpcAck $rpc_ack @type \Livekit\RpcResponse $rpc_response @type \Livekit\DataStream\Header $stream_header @type \Livekit\DataStream\Chunk $stream_chunk @type \Livekit\DataStream\Trailer $stream_trailer}
getChatMessage()
Generated from protobuf field <code>.livekit.ChatMessage chat_message = 3;</code>
public
getChatMessage() : ChatMessage|null
Return values
ChatMessage|nullgetRpcAck()
Generated from protobuf field <code>.livekit.RpcAck rpc_ack = 5;</code>
public
getRpcAck() : RpcAck|null
Return values
RpcAck|nullgetRpcRequest()
Generated from protobuf field <code>.livekit.RpcRequest rpc_request = 4;</code>
public
getRpcRequest() : RpcRequest|null
Return values
RpcRequest|nullgetRpcResponse()
Generated from protobuf field <code>.livekit.RpcResponse rpc_response = 6;</code>
public
getRpcResponse() : RpcResponse|null
Return values
RpcResponse|nullgetStreamChunk()
Generated from protobuf field <code>.livekit.DataStream.Chunk stream_chunk = 8;</code>
public
getStreamChunk() : Chunk|null
Return values
Chunk|nullgetStreamHeader()
Generated from protobuf field <code>.livekit.DataStream.Header stream_header = 7;</code>
public
getStreamHeader() : Header|null
Return values
Header|nullgetStreamTrailer()
Generated from protobuf field <code>.livekit.DataStream.Trailer stream_trailer = 9;</code>
public
getStreamTrailer() : Trailer|null
Return values
Trailer|nullgetUser()
Generated from protobuf field <code>.livekit.UserPacket user = 1;</code>
public
getUser() : UserPacket|null
Return values
UserPacket|nullgetValue()
public
getValue() : string
Return values
stringhasChatMessage()
public
hasChatMessage() : mixed
hasRpcAck()
public
hasRpcAck() : mixed
hasRpcRequest()
public
hasRpcRequest() : mixed
hasRpcResponse()
public
hasRpcResponse() : mixed
hasStreamChunk()
public
hasStreamChunk() : mixed
hasStreamHeader()
public
hasStreamHeader() : mixed
hasStreamTrailer()
public
hasStreamTrailer() : mixed
hasUser()
public
hasUser() : mixed
setChatMessage()
Generated from protobuf field <code>.livekit.ChatMessage chat_message = 3;</code>
public
setChatMessage(ChatMessage $var) : $this
Parameters
- $var : ChatMessage
Return values
$thissetRpcAck()
Generated from protobuf field <code>.livekit.RpcAck rpc_ack = 5;</code>
public
setRpcAck(RpcAck $var) : $this
Parameters
- $var : RpcAck
Return values
$thissetRpcRequest()
Generated from protobuf field <code>.livekit.RpcRequest rpc_request = 4;</code>
public
setRpcRequest(RpcRequest $var) : $this
Parameters
- $var : RpcRequest
Return values
$thissetRpcResponse()
Generated from protobuf field <code>.livekit.RpcResponse rpc_response = 6;</code>
public
setRpcResponse(RpcResponse $var) : $this
Parameters
- $var : RpcResponse
Return values
$thissetStreamChunk()
Generated from protobuf field <code>.livekit.DataStream.Chunk stream_chunk = 8;</code>
public
setStreamChunk(Chunk $var) : $this
Parameters
- $var : Chunk
Return values
$thissetStreamHeader()
Generated from protobuf field <code>.livekit.DataStream.Header stream_header = 7;</code>
public
setStreamHeader(Header $var) : $this
Parameters
- $var : Header
Return values
$thissetStreamTrailer()
Generated from protobuf field <code>.livekit.DataStream.Trailer stream_trailer = 9;</code>
public
setStreamTrailer(Trailer $var) : $this
Parameters
- $var : Trailer
Return values
$thissetUser()
Generated from protobuf field <code>.livekit.UserPacket user = 1;</code>
public
setUser(UserPacket $var) : $this
Parameters
- $var : UserPacket