Documentation

SIPStatus extends Message
in package

SIPStatus is returned as an error detail in CreateSIPParticipant.

Generated from protobuf message livekit.SIPStatus

Table of Contents

Properties

$code  : mixed
Generated from protobuf field <code>.livekit.SIPStatusCode code = 1;</code>
$status  : mixed
Generated from protobuf field <code>string status = 2;</code>

Methods

__construct()  : mixed
Constructor.
getCode()  : int
Generated from protobuf field <code>.livekit.SIPStatusCode code = 1;</code>
getStatus()  : string
Generated from protobuf field <code>string status = 2;</code>
setCode()  : $this
Generated from protobuf field <code>.livekit.SIPStatusCode code = 1;</code>
setStatus()  : $this
Generated from protobuf field <code>string status = 2;</code>

Properties

$code

Generated from protobuf field <code>.livekit.SIPStatusCode code = 1;</code>

protected mixed $code = 0

$status

Generated from protobuf field <code>string status = 2;</code>

protected mixed $status = ''

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 $code
@type string $status

}

getCode()

Generated from protobuf field <code>.livekit.SIPStatusCode code = 1;</code>

public getCode() : int
Return values
int

getStatus()

Generated from protobuf field <code>string status = 2;</code>

public getStatus() : string
Return values
string

setCode()

Generated from protobuf field <code>.livekit.SIPStatusCode code = 1;</code>

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

setStatus()

Generated from protobuf field <code>string status = 2;</code>

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

        
On this page

Search results