Documentation

RequestResponse extends Message
in package

Generated from protobuf message <code>livekit.RequestResponse</code>

Table of Contents

Properties

$message  : mixed
Generated from protobuf field <code>string message = 3;</code>
$reason  : mixed
Generated from protobuf field <code>.livekit.RequestResponse.Reason reason = 2;</code>
$request  : mixed
$request_id  : mixed
Generated from protobuf field <code>uint32 request_id = 1;</code>

Methods

__construct()  : mixed
Constructor.
getAddTrack()  : AddTrackRequest|null
Generated from protobuf field <code>.livekit.AddTrackRequest add_track = 5;</code>
getMessage()  : string
Generated from protobuf field <code>string message = 3;</code>
getMute()  : MuteTrackRequest|null
Generated from protobuf field <code>.livekit.MuteTrackRequest mute = 6;</code>
getPublishDataTrack()  : PublishDataTrackRequest|null
Generated from protobuf field <code>.livekit.PublishDataTrackRequest publish_data_track = 10;</code>
getReason()  : int
Generated from protobuf field <code>.livekit.RequestResponse.Reason reason = 2;</code>
getRequest()  : string
getRequestId()  : int
Generated from protobuf field <code>uint32 request_id = 1;</code>
getTrickle()  : TrickleRequest|null
Generated from protobuf field <code>.livekit.TrickleRequest trickle = 4;</code>
getUnpublishDataTrack()  : UnpublishDataTrackRequest|null
Generated from protobuf field <code>.livekit.UnpublishDataTrackRequest unpublish_data_track = 11;</code>
getUpdateAudioTrack()  : UpdateLocalAudioTrack|null
Generated from protobuf field <code>.livekit.UpdateLocalAudioTrack update_audio_track = 8;</code>
getUpdateMetadata()  : UpdateParticipantMetadata|null
Generated from protobuf field <code>.livekit.UpdateParticipantMetadata update_metadata = 7;</code>
getUpdateVideoTrack()  : UpdateLocalVideoTrack|null
Generated from protobuf field <code>.livekit.UpdateLocalVideoTrack update_video_track = 9;</code>
hasAddTrack()  : mixed
hasMute()  : mixed
hasPublishDataTrack()  : mixed
hasTrickle()  : mixed
hasUnpublishDataTrack()  : mixed
hasUpdateAudioTrack()  : mixed
hasUpdateMetadata()  : mixed
hasUpdateVideoTrack()  : mixed
setAddTrack()  : $this
Generated from protobuf field <code>.livekit.AddTrackRequest add_track = 5;</code>
setMessage()  : $this
Generated from protobuf field <code>string message = 3;</code>
setMute()  : $this
Generated from protobuf field <code>.livekit.MuteTrackRequest mute = 6;</code>
setPublishDataTrack()  : $this
Generated from protobuf field <code>.livekit.PublishDataTrackRequest publish_data_track = 10;</code>
setReason()  : $this
Generated from protobuf field <code>.livekit.RequestResponse.Reason reason = 2;</code>
setRequestId()  : $this
Generated from protobuf field <code>uint32 request_id = 1;</code>
setTrickle()  : $this
Generated from protobuf field <code>.livekit.TrickleRequest trickle = 4;</code>
setUnpublishDataTrack()  : $this
Generated from protobuf field <code>.livekit.UnpublishDataTrackRequest unpublish_data_track = 11;</code>
setUpdateAudioTrack()  : $this
Generated from protobuf field <code>.livekit.UpdateLocalAudioTrack update_audio_track = 8;</code>
setUpdateMetadata()  : $this
Generated from protobuf field <code>.livekit.UpdateParticipantMetadata update_metadata = 7;</code>
setUpdateVideoTrack()  : $this
Generated from protobuf field <code>.livekit.UpdateLocalVideoTrack update_video_track = 9;</code>

Properties

$message

Generated from protobuf field <code>string message = 3;</code>

protected mixed $message = ''

$reason

Generated from protobuf field <code>.livekit.RequestResponse.Reason reason = 2;</code>

protected mixed $reason = 0

$request_id

Generated from protobuf field <code>uint32 request_id = 1;</code>

protected mixed $request_id = 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 int $request_id
@type int $reason
@type string $message
@type \Livekit\TrickleRequest $trickle
@type \Livekit\AddTrackRequest $add_track
@type \Livekit\MuteTrackRequest $mute
@type \Livekit\UpdateParticipantMetadata $update_metadata
@type \Livekit\UpdateLocalAudioTrack $update_audio_track
@type \Livekit\UpdateLocalVideoTrack $update_video_track
@type \Livekit\PublishDataTrackRequest $publish_data_track
@type \Livekit\UnpublishDataTrackRequest $unpublish_data_track

}

getMessage()

Generated from protobuf field <code>string message = 3;</code>

public getMessage() : string
Return values
string

getReason()

Generated from protobuf field <code>.livekit.RequestResponse.Reason reason = 2;</code>

public getReason() : int
Return values
int

getRequestId()

Generated from protobuf field <code>uint32 request_id = 1;</code>

public getRequestId() : int
Return values
int

setMessage()

Generated from protobuf field <code>string message = 3;</code>

public setMessage(string $var) : $this
Parameters
$var : string
Return values
$this

setReason()

Generated from protobuf field <code>.livekit.RequestResponse.Reason reason = 2;</code>

public setReason(int $var) : $this
Parameters
$var : int
Return values
$this

setRequestId()

Generated from protobuf field <code>uint32 request_id = 1;</code>

public setRequestId(int $var) : $this
Parameters
$var : int
Return values
$this

        
On this page

Search results