Documentation

AvailabilityRequest extends Message
in package

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

Table of Contents

Properties

$job  : mixed
Generated from protobuf field <code>.livekit.Job job = 1;</code>
$resuming  : mixed
True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration)

Methods

__construct()  : mixed
Constructor.
clearJob()  : mixed
getJob()  : Job|null
Generated from protobuf field <code>.livekit.Job job = 1;</code>
getResuming()  : bool
True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration)
hasJob()  : mixed
setJob()  : $this
Generated from protobuf field <code>.livekit.Job job = 1;</code>
setResuming()  : $this
True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration)

Properties

$job

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

protected mixed $job = null

$resuming

True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration)

protected mixed $resuming = false

Generated from protobuf field bool resuming = 2;

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\Job $job
@type bool $resuming
      True when the job was previously assigned to another worker but has been
      migrated due to different reasons (e.g. worker failure, job migration)

}

getJob()

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

public getJob() : Job|null
Return values
Job|null

getResuming()

True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration)

public getResuming() : bool

Generated from protobuf field bool resuming = 2;

Return values
bool

setJob()

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

public setJob(Job $var) : $this
Parameters
$var : Job
Return values
$this

setResuming()

True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration)

public setResuming(bool $var) : $this

Generated from protobuf field bool resuming = 2;

Parameters
$var : bool
Return values
$this

        
On this page

Search results